CVE-2024-45758 — Vulnerability in ai.h2o:h2o-core — CVE Details
H2O.ai H2O vulnerable to deserialization attacks via a JDBC Connection URL
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (1.76%). Schedule for your next planned update.
Does your project use an affected ai.h2o:h2o-core version?
Paste your pom.xml to check it for CVE-2024-45758 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
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.
Advisory Timeline
- First published September 6, 2024 (811 days ago).
- Last revised October 27, 2026 — 781 days after initial publication.
Affected Packages (2)
Affects 2 ecosystems: Maven (1), PyPI (1).
| Package | Fixed In |
|---|---|
| ai.h2o:h2o-core Maven · Affected: 0.1.10, 0.1.11, 0.1.12, 0.1.13 (+249 more) | Range-based data available |
| h2o PyPI · Affected: 3.10.0.10, 3.10.0.3, 3.10.0.6, 3.10.0.7 (+114 more) | Range-based data available |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-502Deserialization of Untrusted DataMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.1 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-45758ADVISORY
- https://github.com/h2oai/h2o-3/issues/16425WEB
- https://github.com/h2oai/h2o-3/issues/16622WEB
- https://github.com/h2oai/h2o-3/pull/16624WEB
- https://github.com/h2oai/h2o-3/commit/f714edd6b8429c7a7211b779b6ec108a95b7382dWEB
- https://gist.github.com/AfterSnows/c24ca3c26dc89ab797e610e92a6a9acbWEB
- https://github.com/h2oai/h2o-3PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/h2o/PYSEC-2026-352.yamlWEB
- https://pypi.org/project/h2oWEB
- https://spear-shield.notion.site/Unauthenticated-Remote-Code-Execution-via-Unrestricted-JDBC-Connection-87a958a4874044199cbb86422d1f6068WEB
Frequently Asked Questions
- What is CVE-2024-45758?
- H2O.ai H2O vulnerable to deserialization attacks via a JDBC Connection URL. This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.1/10).
- How do I check if my project is affected by CVE-2024-45758?
- CVE-2024-45758 affects ai.h2o:h2o-core and h2o. It has a 1.8% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2024-45758 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Maximum impact if exploited, often with little effort or access required.
This places it in the top quartile of EPSS-scored vulnerabilities — 78.4% of tracked vulnerabilities score at or below it, so it is more likely to be exploited than most of the tracked corpus.
Also Known As
Related CVEs
- CVE-2025-6544CRITICAL
H2O affected by a deserialization vulnerability
- CVE-2023-6569CRITICAL
External Control of File Name or Path in h2oai/h2o-3
- CVE-2024-10553CRITICAL
H2O Deserialization of Untrusted Data Vulnerability
- CVE-2024-5986CRITICAL
H2O has an External Control of File Name or Path vulnerability
- CVE-2026-3960CRITICAL
- CVE-2025-6544CRITICAL
H2O affected by a deserialization vulnerability
- CVE-2024-10553CRITICAL
H2O Deserialization of Untrusted Data Vulnerability
- CVE-2024-5986CRITICAL
H2O has an External Control of File Name or Path vulnerability