Vulnerability Details : CVE-2021-42392
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.
Vulnerability category: Execute code
Products affected by CVE-2021-42392
- cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
- cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
- cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*
- cpe:2.3:a:oracle:communications_cloud_native_core_policy:1.15.0:*:*:*:*:*:*:*
- cpe:2.3:a:h2database:h2:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2021-42392
38.50%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 97 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2021-42392
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
10.0
|
HIGH | AV:N/AC:L/Au:N/C:C/I:C/A:C |
10.0
|
10.0
|
NIST | |
9.8
|
CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
3.9
|
5.9
|
NIST |
CWE ids for CVE-2021-42392
-
The product deserializes untrusted data without sufficiently verifying that the resulting data will be valid.Assigned by:
- nvd@nist.gov (Primary)
- reefs@jfrog.com (Secondary)
References for CVE-2021-42392
-
https://www.oracle.com/security-alerts/cpuapr2022.html
Oracle Critical Patch Update Advisory - April 2022Patch;Third Party Advisory
-
https://www.secpod.com/blog/log4shell-critical-remote-code-execution-vulnerability-in-h2database-console/
CVE-2021-42392: Log4Shell critical vulnerability in H2database
-
https://www.debian.org/security/2022/dsa-5076
Debian -- Security Information -- DSA-5076-1 h2databaseThird Party Advisory
-
https://lists.debian.org/debian-lts-announce/2022/02/msg00017.html
[SECURITY] [DLA 2923-1] h2database security updateMailing List;Third Party Advisory
-
https://jfrog.com/blog/the-jndi-strikes-back-unauthenticated-rce-in-h2-database-console/
JNDI-Related Vulnerability Discovered in H2 Database Console | JFrogExploit;Technical Description;Vendor Advisory
-
https://security.netapp.com/advisory/ntap-20220119-0001/
CVE-2021-42392 H2 Database Vulnerability in NetApp Products | NetApp Product SecurityThird Party Advisory
-
https://github.com/h2database/h2database/security/advisories/GHSA-h376-j262-vhq6
RCE in H2 Console · Advisory · h2database/h2database · GitHubMitigation;Third Party Advisory
Jump to