CVE-2024-45758
H2O.ai H2O vulnerable to deserialization attacks via a JDBC Connection URL
Severity by source
Trivy's own label is CRITICAL. Rated critical by GHSA.
Description
H2O.ai H2O through 3.46.0.4 allows attackers to arbitrarily set the JDBC URL, leading to deserialization attacks, file reads, and command execution. Exploitation can occur when an attacker has access to post to the ImportSQLTable URI with a JSON document containing a connection_url property with any typical JDBC Connection URL attack payload such as one that uses queryInterceptors.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| maven::GitHub Security Advisory Maven | ai.h2o:h2o-core | no fix listed |
| pip::GitHub Security Advisory pip | h2o | no fix listed |
References
- https://gist.github.com/AfterSnows/c24ca3c26dc89ab797e610e92a6a9acb
- https://github.com/h2oai/h2o-3
- https://github.com/h2oai/h2o-3/commit/f714edd6b8429c7a7211b779b6ec108a95b7382d
- https://github.com/h2oai/h2o-3/issues/16425
- https://github.com/h2oai/h2o-3/issues/16622
- https://github.com/h2oai/h2o-3/pull/16624
- https://github.com/pypa/advisory-database/tree/main/vulns/h2o/PYSEC-2026-352.yaml
- https://nvd.nist.gov/vuln/detail/CVE-2024-45758