h2oai/h2o-3 · Security
H2O Vulnerable to Denial of Service (DoS) and File Write
- GHSA ID
- GHSA-wjpv-64v2-2qpq
- CVE ID
- CVE-2024-10572
- Severity
- high
- Published
- Updated
- CVSS
- 7.5 · CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CVSS v3
- 7.5 · CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Description
In h2oai/h2o-3 version 3.46.0.1, the run_tool command exposes classes in the water.tools package through the ast parser. This includes the XGBoostLibExtractTool class, which can be exploited to shut down the server and write large files to arbitrary directories, leading to a denial of service.
CWEs
- CWE-94 · Improper Control of Generation of Code ('Code Injection')
- CWE-400 · Uncontrolled Resource Consumption
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-10572 ↗
- https://huntr.com/bounties/db8939a0-9be8-4d0f-a8b0-1bd181666da2 ↗
- https://github.com/h2oai/h2o-3/blob/5e45e780f597961bda73adff765976db975f204b/h2o-extensions/xgboost/src/main/java/water/tools/XGBoostLibExtractTool.java#L12 ↗
- https://github.com/advisories/GHSA-wjpv-64v2-2qpq ↗