CVE-2021-42392
An attacker may pass a JNDI driver name and a URL leading to a LDAP or RMI servers, causing remote code execution.
Does this matter?
EPSS puts the probability of exploitation in the next 30 days at 83.2%, higher than 100% of all known CVEs. Patch or mitigate before the next change window.
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.
- CVSS 3.1
- 9.8 CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 83.18% probability · 100th percentile
- Public exploits
- None in Exploit-DB
- CISA KEV
- Not listed
- Weakness
- CWE-502
- Affected
- h2database/h2 · debian/debian linux · oracle/communications cloud native core policy
- Source
- reefs@jfrog.com
EPSS 83.2% since 3 November 2026; no change recorded yet. The dashed line is the ten per cent mark our analysts treat as “patch before the next change window”. Points are recorded when the score first appears and whenever it moves by a percentage point or more.
References
- https://github.com/h2database/h2database/security/advisories/GHSA-h376-j262-vhq6Mitigation, Third Party Advisory
- https://jfrog.com/blog/the-jndi-strikes-back-unauthenticated-rce-in-h2-database-console/Exploit, Technical Description, Vendor Advisory
- https://lists.debian.org/debian-lts-announce/2022/02/msg00017.htmlMailing List, Third Party Advisory
- https://security.netapp.com/advisory/ntap-20220119-0001/Third Party Advisory
- https://www.debian.org/security/2022/dsa-5076Third Party Advisory
- https://www.oracle.com/security-alerts/cpuapr2022.htmlPatch, Third Party Advisory
- https://www.secpod.com/blog/log4shell-critical-remote-code-execution-vulnerability-in-h2database-console/
- https://github.com/h2database/h2database/security/advisories/GHSA-h376-j262-vhq6Mitigation, Third Party Advisory
- https://jfrog.com/blog/the-jndi-strikes-back-unauthenticated-rce-in-h2-database-console/Exploit, Technical Description, Vendor Advisory
- https://lists.debian.org/debian-lts-announce/2022/02/msg00017.htmlMailing List, Third Party Advisory
- https://security.netapp.com/advisory/ntap-20220119-0001/Third Party Advisory
- https://www.debian.org/security/2022/dsa-5076Third Party Advisory
- https://www.oracle.com/security-alerts/cpuapr2022.htmlPatch, Third Party Advisory
- https://www.secpod.com/blog/log4shell-critical-remote-code-execution-vulnerability-in-h2database-console/
Source: NVD record, EPSS from FIRST.org, KEV from CISA, exploits from Exploit-DB. Refreshed daily. Download this record as JSON.