WaratekVRT Sign in

CVE-2024-45758 H2O

Affected softwareH2O
Severity9.1 Critical CVSS 3.1
WeaknessDeserialization of untrusted data (CWE-502)
Published6 Sep 2024
Updated17 Jun 2026

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.

Exploitation status

Proof of concept only

A proof of concept exists, but no reviewed exploit catalogue lists this CVE.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment exploitation: poc CISA recorded that an exploit has been demonstrated. Automatable: yes, technical impact: total.
  • Indexed PoC none indexed
  • EPSS 0.91% chance in 30 days

Waratek protection

Protected by Waratek

Waratek has a rule that blocks attacks on this vulnerability.

Decided by A vulnerability class already blocked by an ARMR security rule
Finding Protected by Waratek's ARMR deserialization security rule, which blocks this class of attack at the JVM level without a rule written for this CVE specifically. The CVE's weakness is CWE-502: Deserialization of Untrusted Data.

How to mitigate CVE-2024-45758

Apply the vendor's fix for H2O. Until you can, Waratek RASP blocks exploitation with its deserialization and process rules. It runs inside the Java application, with no code changes.

Waratek RASP Runtime protection for Java applications

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
ai.h2o:h2o-core 0 none 3.46.0.7

Products and versions

2 products, 2 version entries
SourceVendorProductSchemeAffected versions
osv ai.h2o h2o-core generic ≤ 3.46.0.7
nvd h2o h2o generic ≤ 3.46.0.4

References

URLTags
https://github.com/h2oai/h2o-3/issues/16425 WEB
https://github.com/h2oai/h2o-3/issues/16622 WEB
https://github.com/h2oai/h2o-3/pull/16624 WEB
https://github.com/h2oai/h2o-3/commit/f714edd6b8429c7a7211b779b6ec108a95b7382d WEB
https://gist.github.com/AfterSnows/c24ca3c26dc89ab797e610e92a6a9acb WEB
https://github.com/h2oai/h2o-3 PACKAGE
https://github.com/pypa/advisory-database/tree/main/vulns/h2o/PYSEC-2026-352.yaml WEB
https://pypi.org/project/h2o WEB
https://spear-shield.notion.site/Unauthenticated-Remote-Code-Execution-via-Unrestricted-JDBC-Connection-87a958a4874044199cbb86422d1f6068 WEB

Timeline

Published2024-09-06By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.