Browse / AI Framework and Platform Flaws / CVE-2024-7768
H2O Vulnerable to Denial of Service (DoS) via `/3/ImportFiles` Endpoint
- Class
- AI Framework and Platform Flaws (filed by a model that read the advisory)
- Technique
- Denial of service
- Affected
- ai.h2o:h2o-core, h2o (Maven)
- CVSS
- CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS
- 0.8% chance of exploitation in 30 days
How it works, in short
The ImportFiles endpoint accepts a path that refers back to the same endpoint, so the server recursively calls itself until its request queue is exhausted. (Our summary, written by a model. The source text is below.)
Details
A vulnerability in the /3/ImportFiles endpoint of h2oai/h2o-3 version 3.46.1 allows an attacker to cause a denial of service. The endpoint takes a single GET parameter, path, which can be recursively set to reference itself. This leads the server to repeatedly call its own endpoint, eventually filling up the request queue and leaving the server unable to handle other requests.
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-7768
- https://github.com/h2oai/h2o-3
- https://github.com/h2oai/h2o-3/blob/7d418fa19d3ab434f742818e37f891bef9102c97/h2o-core/src/main/java/water/api/ImportFilesHandler.java#L19
- https://huntr.com/bounties/3fe640df-bef4-4072-8890-0d12bc2818f6
Source: GitHub Advisory Database, used under CC BY 4.0.