Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. h2o
  4. ›
  5. CVE-2024-8616

CVE-2024-8616: H2O Vulnerable to Arbitrary File Overwrite

March 20, 2025

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.

References

  • github.com/advisories/GHSA-g48v-3p35-88jr
  • github.com/h2oai/h2o-3
  • github.com/h2oai/h2o-3/blob/088190f9d0370a02a483fca68d8dc89c996b4f83/h2o-core/src/main/java/water/api/ModelsHandler.java
  • huntr.com/bounties/aebf69a5-b9b1-4d2f-a8ff-902c11a8c97a
  • nvd.nist.gov/vuln/detail/CVE-2024-8616

Code Behaviors & Features

Detect and mitigate CVE-2024-8616 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 3.10.4.1 up to 3.46.0

Solution

Unfortunately, there is no solution available yet.

Impact 8.2 HIGH

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H

Learn more about CVSS

Weakness

  • CWE-73: External Control of File Name or Path

Source file

pypi/h2o/CVE-2024-8616.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:39 +0000.