{ "schema_version": "1.4.0", "id": "GHSA-g48v-3p35-88jr", "modified": "2025-03-20T20:31:09Z", "published": "2025-03-20T12:32:48Z", "aliases": [ "CVE-2024-8616" ], "summary": "H2O Vulnerable to Arbitrary File Overwrite", "details": "In h2oai/h2o-3 version 3.46.0, the `/99/Models/{name}/json` endpoint allows for arbitrary file overwrite on the target server. The vulnerability arises from the `exportModelDetails` function in `ModelsHandler.java`, where the user-controllable `mexport.dir` parameter is used to specify the file path for writing model details. This can lead to overwriting files at arbitrary locations on the host system.", "severity": [ { "type": "CVSS_V3", "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H" } ], "affected": [ { "package": { "ecosystem": "PyPI", "name": "h2o" }, "ranges": [ { "type": "ECOSYSTEM", "events": [ { "introduced": "3.10.4.1" }, { "last_affected": "3.46.0" } ] } ] }, { "package": { "ecosystem": "Maven", "name": "ai.h2o:h2o-core" }, "ranges": [ { "type": "ECOSYSTEM", "events": [ { "introduced": "3.10.4.1" }, { "last_affected": "3.46.0" } ] } ] } ], "references": [ { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-8616" }, { "type": "PACKAGE", "url": "https://github.com/h2oai/h2o-3" }, { "type": "WEB", "url": "https://github.com/h2oai/h2o-3/blob/088190f9d0370a02a483fca68d8dc89c996b4f83/h2o-core/src/main/java/water/api/ModelsHandler.java#L310" }, { "type": "WEB", "url": "https://huntr.com/bounties/aebf69a5-b9b1-4d2f-a8ff-902c11a8c97a" } ], "database_specific": { "cwe_ids": [ "CWE-73" ], "severity": "HIGH", "github_reviewed": true, "github_reviewed_at": "2025-03-20T20:31:09Z", "nvd_published_at": "2025-03-20T10:15:43Z" } }