GitHub Advisoryadvisory · PyPI, Maven
GHSA-g48v-3p35-88jr H2O Vulnerable to Arbitrary File Overwrite
HIGH
Official page ↗
- Aliases
- CVE-2024-8616
- Ecosystem
- PyPI, Maven
- Packages
- h2o, ai.h2o:h2o-core
- Severity
- High
- CVSS vector
- CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H
- Weaknesses
- CWE-73
- Reviewed
- 2025-03-20
Affected packages
• PyPI h2o: >= 3.10.4.1, <= 3.46.0 (no fix yet)
• Maven ai.h2o:h2o-core: >= 3.10.4.1, <= 3.46.0 (no fix yet)
Description
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.
Related
Alias · CVE (1)
- CVE-2024-8616 In h2oai/h2o-3 version 3.46.0, the `/99/Models/{name}/json` endpoint allows for arbitrary file overwrite on the target server. vulnerability
Weakness · CWE (1)
- CWE-73 External Control of File Name or Path weakness