Vulnerabilities · 2024 · H2o
CVE-2024-45758
H2o vulnerability
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
H2o. The exact versions are in the references.
What to do now
- Check your exposureFind out whether H2o runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- gist.github.com/AfterSnows/c24ca3c26dc89ab797e610e92a6a9acb · Third Party Advisory
- spear-shield.notion.site/Unauthenticated-Remote-Code-Execution-via-Unrestricted-JDBC-Conne · Exploit
- nvd.nist.gov/vuln/detail/CVE-2024-45758
- github.com/h2oai/h2o-3/issues/16425
- github.com/h2oai/h2o-3/issues/16622
- github.com/h2oai/h2o-3/pull/16624
- github.com/h2oai/h2o-3/commit/f714edd6b8429c7a7211b779b6ec108a95b7382d
- github.com/advisories/GHSA-hrmc-jmp7-mpm2
- nvd.nist.gov/vuln/detail/CVE-2024-45758
- cve.org/CVERecord?id=CVE-2024-45758
More vulnerabilities in H2o products
CVE-2025-10769CVE-2025-10768CVE-2025-6544CVE-2024-10572CVE-2024-10553CVE-2024-10550CVE-2024-10549CVE-2024-8862All 23
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.