{ "schema_version": "1.4.0", "id": "GHSA-47f6-5p7h-5f3h", "modified": "2025-03-20T19:53:19Z", "published": "2025-03-20T12:32:45Z", "aliases": [ "CVE-2024-6854" ], "summary": "H2O Vulnerable to Arbitrary File Overwrite via File Export", "details": "In h2oai/h2o-3 version 3.46.0, the endpoint for exporting models does not restrict the export location, allowing an attacker to export a model to any file in the server's file structure, thereby overwriting it. This vulnerability can be exploited to overwrite any file on the target server with a trained model file, although the content of the overwrite is not controllable by the attacker.", "severity": [ { "type": "CVSS_V3", "score": "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H" } ], "affected": [ { "package": { "ecosystem": "PyPI", "name": "h2o" }, "ranges": [ { "type": "ECOSYSTEM", "events": [ { "introduced": "3.32.1.1" }, { "last_affected": "3.46.0" } ] } ] }, { "package": { "ecosystem": "Maven", "name": "ai.h2o:h2o-core" }, "ranges": [ { "type": "ECOSYSTEM", "events": [ { "introduced": "3.32.1.1" }, { "last_affected": "3.46.0" } ] } ] } ], "references": [ { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-6854" }, { "type": "PACKAGE", "url": "https://github.com/h2oai/h2o-3" }, { "type": "WEB", "url": "https://github.com/h2oai/h2o-3/blob/a20b5b19b769866ee24b217ee78b820e64c1cd6a/h2o-core/src/main/java/hex/Model.java#L3366" }, { "type": "WEB", "url": "https://huntr.com/bounties/97d013f9-ac51-4c80-8dd7-8dfde11f33b2" } ], "database_specific": { "cwe_ids": [ "CWE-36" ], "severity": "HIGH", "github_reviewed": true, "github_reviewed_at": "2025-03-20T19:53:19Z", "nvd_published_at": "2025-03-20T10:15:34Z" } }