{"id":"CVE-2024-45758","aliases":["CVE-2024-45758","GHSA-hrmc-jmp7-mpm2","PYSEC-2026-352"],"related":[],"kind":"vulnerability","state":"published","title":"H2O.ai H2O vulnerable to deserialization attacks via a JDBC Connection URL","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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"H2O.ai H2O hasta la versión 3.46.0.4 permite a los atacantes configurar arbitrariamente la URL de JDBC, lo que genera ataques de deserialización, lectura de archivos y ejecución de comandos. La explotación puede ocurrir cuando un atacante tiene acceso para publicar en la URL ImportSQLTable con un documento JSON que contiene una propiedad connection_url con cualquier payload típico de ataque de URL de conexión de JDBC, como una que utiliza queryInterceptors.","source":"nvd"}],"published":"2024-09-06T00:00:00.000Z","modified":"2026-10-27T17:45:04.102Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","score":9.1,"rating":"CRITICAL"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","score":9.1,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","score":9.1,"rating":"CRITICAL"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","score":9.1,"rating":"CRITICAL"}],"cwes":["CWE-502"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"custom","introduced":"0","lastAffected":"3.46.0.4","status":"affected"}],"vendor":"h2oai","product":"h2o-3","cpe":"cpe:2.3:a:h2oai:h2o-3:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","lastAffected":"3.46.0.7"}],"ecosystem":"Maven","package":"ai.h2o:h2o-core","purl":"pkg:maven/ai.h2o/h2o-core","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","lastAffected":"3.46.0.7"}],"ecosystem":"PyPI","package":"h2o","purl":"pkg:pypi/h2o","source":"ghsa"},{"ranges":[{"status":"affected","lastAffected":"3.46.0.4"}],"vendor":"h2o","product":"h2o","cpe":"cpe:2.3:a:h2o:h2o:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","lastAffected":"3.46.0.7"}],"ecosystem":"PyPI","package":"h2o","purl":"pkg:pypi/h2o","source":"pysec"}],"references":[{"url":"https://spear-shield.notion.site/Unauthenticated-Remote-Code-Execution-via-Unrestricted-JDBC-Connection-87a958a4874044199cbb86422d1f6068","tags":["exploit","third-party-advisory","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://gist.github.com/AfterSnows/c24ca3c26dc89ab797e610e92a6a9acb","tags":["third-party-advisory","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-45758","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/h2oai/h2o-3/issues/16425","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://github.com/h2oai/h2o-3/issues/16622","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://github.com/h2oai/h2o-3/pull/16624","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://github.com/h2oai/h2o-3/commit/f714edd6b8429c7a7211b779b6ec108a95b7382d","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://github.com/h2oai/h2o-3","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/h2o/PYSEC-2026-352.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://pypi.org/project/h2o","tags":["package","web"],"sources":["ghsa","pysec"]},{"url":"https://github.com/advisories/GHSA-hrmc-jmp7-mpm2","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"total","date":"2024-09-06T17:51:47.646Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-45758","url":"https://www.cve.org/CVERecord?id=CVE-2024-45758","licence":"CVE Terms of Use","modified":"2024-09-06T17:59:17.751Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-hrmc-jmp7-mpm2","url":"https://github.com/advisories/GHSA-hrmc-jmp7-mpm2","licence":"CC-BY-4.0","modified":"2026-10-27T17:45:04.102Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-45758","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-45758","licence":"Public domain","modified":"2026-06-17T07:54:45.720Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-352","url":"https://osv.dev/vulnerability/PYSEC-2026-352","licence":"CC-BY-4.0","modified":"2026-07-01T20:22:54.129Z"}],"updatedAt":"2026-11-25T22:58:45.141Z","epss":{"score":0.00899,"percentile":0.60691,"date":"2026-12-01T12:00:22.000Z"}}