# CVE-2024-45758: H2O.ai H2O vulnerable to deserialization attacks via a JDBC Connection URL

Source: https://junglewise.ai/threats/cve-2024-45758-h2o-ai-h2o-vulnerable-to-deserialization-attacks-via-a-jdbc  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2024-09-06  
License: CC BY 4.0 with a link back

CVE-2024-45758 · Severity: critical · CVSS 9.1 · Published 2024-09-06

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.

Technologies: [ai.h2o:h2o-core (Maven)](https://junglewise.ai/threats/technologies/ai-h2o-h2o-core), [h2o (PyPI)](https://junglewise.ai/threats/technologies/h2o). Vendors: [Maven](https://junglewise.ai/threats/vendors/maven), [PyPI](https://junglewise.ai/threats/vendors/pypi).

## Quick answers

**Is CVE-2024-45758 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2024-45758 being exploited in the wild.

**How severe is CVE-2024-45758?** Critical severity, with a CVSS score of 9.1, published 6 September 2024.

**Which products and versions are affected?** ai.h2o:h2o-core (Maven) <= 3.46.0.7, ECOSYSTEM:introduced=0,last_affected=3.46.0.7; h2o (PyPI) <= 3.46.0.7, ECOSYSTEM:introduced=0,last_affected=3.46.0.7.

**Is there a fix for CVE-2024-45758?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**Am I affected by CVE-2024-45758?** Check whether you run ai.h2o:h2o-core (Maven) or h2o (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Affected products

- ai.h2o:h2o-core (Maven) <= 3.46.0.7, ECOSYSTEM:introduced=0,last_affected=3.46.0.7
- h2o (PyPI) <= 3.46.0.7, ECOSYSTEM:introduced=0,last_affected=3.46.0.7

## Identifiers

- CVE-2024-45758
- GHSA-hrmc-jmp7-mpm2
- PYSEC-2026-352

## Related threats

- [PYSEC-2026-1441 - H2O Vulnerable to Arbitrary File Overwrite](https://junglewise.ai/threats/cve-2024-8616-h2o-vulnerable-to-arbitrary-file-overwrite)
- [PYSEC-2026-1438 - H2O Vulnerable to Denial of Service (DoS) via `HEAD` Request](https://junglewise.ai/threats/cve-2024-8062-h2o-vulnerable-to-denial-of-service-dos-via-head-request)
- [PYSEC-2026-1443 - H2O Vulnerable to Denial of Service (DoS) via `/3/ImportFiles` Endpoint](https://junglewise.ai/threats/cve-2024-7768-h2o-vulnerable-to-denial-of-service-dos-via-3-importfiles-endpoint)
- [PYSEC-2026-1439 - H2O Vulnerable to Denial of Service (DoS) via Large GZIP Parsing](https://junglewise.ai/threats/cve-2024-7765-h2o-vulnerable-to-denial-of-service-dos-via-large-gzip-parsing)
- [PYSEC-2026-1442 - H2O Vulnerable to Execution of Arbitrary Files](https://junglewise.ai/threats/cve-2024-6863-h2o-vulnerable-to-execution-of-arbitrary-files)
