CVE-2021-42392
CVSS V2 High 10
CVSS V3 Critical 9.8
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.
Overview
- CVE ID
- CVE-2021-42392
- Assigner
- reefs@jfrog.com
- Vulnerability Status
- Modified
- Published Version
- 2022-01-10T14:10:23
- Last Modified Date
- 2023-02-24T22:15:10
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:h2database:h2:*:*:*:*:*:*:*:* | 1 | OR | 1.1.000 | 2.0.204 |
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:oracle:communications_cloud_native_core_policy:1.15.0:*:*:*:*:*:*:* | 1 | OR |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:L/Au:N/C:C/I:C/A:C
- Access Vector
- NETWORK
- Access Compatibility
- LOW
- Authentication
- NONE
- Confidentiality Impact
- COMPLETE
- Integrity Impact
- COMPLETE
- Availability Impact
- COMPLETE
- Base Score
- 10
- Severity
- HIGH
- Exploitability Score
- 10
- Impact Score
- 10
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Attack Vector
- NETWORK
- Attack Compatibility
- LOW
- Privileges Required
- NONE
- User Interaction
- NONE
- Scope
- UNCHANGED
- Confidentiality Impact
- HIGH
- Availability Impact
- HIGH
- Base Score
- 9.8
- Base Severity
- CRITICAL
- Exploitability Score
- 3.9
- Impact Score
- 5.9
References
Reference URL | Reference Tags |
---|---|
https://github.com/h2database/h2database/security/advisories/GHSA-h376-j262-vhq6 | Mitigation 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.html | Mailing List Third Party Advisory |
https://security.netapp.com/advisory/ntap-20220119-0001/ | Third Party Advisory |
https://www.debian.org/security/2022/dsa-5076 | Third Party Advisory |
https://www.oracle.com/security-alerts/cpuapr2022.html | Patch Third Party Advisory |
https://www.secpod.com/blog/log4shell-critical-remote-code-execution-vulnerability-in-h2database-console/ |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2021-42392 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-42392 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-04-20 16:58:53 | Added to TrackCVE | |||
2022-12-06 05:55:04 | security@jfrog.com | reefs@jfrog.com | CVE Assigner | updated |
2022-12-06 05:55:04 | 2022-01-10T14:10Z | 2022-01-10T14:10:23 | CVE Published Date | updated |
2022-12-06 05:55:04 | 2022-09-03T03:30:35 | CVE Modified Date | updated | |
2022-12-06 05:55:04 | Analyzed | Vulnerability Status | updated | |
2023-02-24 23:12:34 | 2023-02-24T22:15:10 | CVE Modified Date | updated | |
2023-02-24 23:12:34 | Analyzed | Modified | Vulnerability Status | updated |
2023-02-24 23:12:34 | References | updated |