CVE-2021-42392
Deserialization of Untrusted Data
Description
The org.h2.util.JdbcUtils.getConnection method of the H2 database takes as parameters the class name of the driver and URL of the database. An attacker may pass a JNDI driver name and a URL leading to a LDAP or RMI servers, causing remote code execution. This can be exploited through various attack vectors, most notably through the H2 Console which leads to unauthenticated remote code execution.
Official description from the CVE record, published by JFROG. Copyright © 1999-2026 The MITRE Corporation. See /security/cve/legal for the CVE license. View the record on cve.org
Key data
EPSS
- Score
- 0.83176 (83.2% probability)
- Percentile
- 99.7%
- Scores of
- Nov 10, 2026
- Model
- v2026.06.15
Weakness (CWE)
- CWE-502Deserialization of Untrusted Data
Affected products
h2database h2
- affected: 1.1.000 up to before *
References
- github.com/h2database/h2database/security/advisories/GHSA-h…
- [debian-lts-announce] 20220215 [SECURITY] [DLA 2923-1] h2database security update (lists.debian.org)mailing-list
- DSA-5076 (debian.org)vendor-advisory
- oracle.com/security-alerts/cpuapr2022.html
- jfrog.com/blog/the-jndi-strikes-back-unauthenticated-rce-in…
- security.netapp.com/advisory/ntap-20220119-0001
- secpod.com/blog/log4shell-critical-remote-code-execution-vu…
Timeline
- ID reserved
- Record published
- Record last updated
Look up another CVE
About CubePath
Data from the CVE Program (MITRE), CISA KEV and FIRST EPSS. CVSS is owned by FIRST and used by permission. Not affiliated with or endorsed by MITRE, CISA or FIRST. Data as of Nov 10, 2026, 19:51 UTC. Sources and licenses