hoch8.2
CVE-2024-8616
H2O Vulnerable to Arbitrary File Overwrite
Auswirkung
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.
Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, ohne Anmeldung, ohne Zutun eines Nutzers. Bei Erfolg: geringes Risiko, dass Daten oder Systeme verändert werden, hohes Risiko für Ausfälle.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| pip | h2o | >= 3.10.4.1, <= 3.46.0 | nicht erfasst |
| maven | ai.h2o:h2o-core | >= 3.10.4.1, <= 3.46.0 | nicht erfasst |
Betroffene Produkte · H2o
| Produkt | Betroffene Versionen |
|---|---|
| H2o | Version 3.46.0 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- https://huntr.com/bounties/aebf69a5-b9b1-4d2f-a8ff-902c11a8c97a
- https://github.com/advisories/GHSA-g48v-3p35-88jr
- https://nvd.nist.gov/vuln/detail/CVE-2024-8616
- https://github.com/h2oai/h2o-3/blob/088190f9d0370a02a483fca68d8dc89c996b4f83/h2o-core/src/main/java/water/api/ModelsHandler.java#L310