Skip to content
HighVulnerability

CVE-2024-8616: h2oai/h2o-3 arbitrary file overwrite through /99/Models/{name}/json endpoint

Identifier
CVE-2024-8616
Published
Record updated
View JSON
Affected
  • h2o >= 3.10.4.1, <= 3.46.0
  • ai.h2o:h2o-core >= 3.10.4.1, <= 3.46.0
Fixed in
No fixed version was stated when the source was last read.
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.6%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

In h2oai/h2o-3 version 3.46.0, the `/99/Models/{name}/json` endpoint permits arbitrary file overwrite on the target server. The flaw sits in the `exportModelDetails` function in `ModelsHandler.java`, which uses the user-controllable `mexport.dir` parameter as the file path for writing model details, so files at arbitrary locations on the host can be overwritten.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.