CVE-2021-42392
Aliases:GHSA-h376-j262-vhq6
Advisory lineage Upstream: 0 Downstream: 14
Modified
Published: 07 Jan 2022, 00:00
Last modified:04 Aug 2024, 03:30
Vulnerability Summary
Overall Risk (default)
critical
90/100 CVSS Score
10 HIGH
v2.0 (nvd)
EPSS Score
90.59% CRITICAL
91% probability -0.18%
KEV
Not listed
Ransomware
No reports
Public exploits
1 found
Dark Web
Not detected
Timeline
07 Jan 2022, 00:00
Published
Vulnerability first disclosed
04 Aug 2024, 03:30
Last Modified
Vulnerability information updated
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 Metrics
- v3.1•CRITICAL•Score: 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- v2.0•HIGH•Score: 10AV:N/AC:L/Au:N/C:C/I:C/A:C
EPSS Trends
Current EPSS score: 90.59%• Percentile: 100%
Techniques & Countermeasures
- CWE-502•Deserialization of Untrusted Data
The product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid.
Affected Systems
- debian•debian_linux
9.0 | 10.0 | 11.0
- h2database•h2
≥ 1.1.000, ≤ 2.0.204 | ≥ 1.1.000, < *
- com.h2database•h2
≥ 1.1.100, < 2.0.206
- oracle•communications_cloud_native_core_policy
1.15.0
References (13)
- https://github.com/h2database/h2database/security/advisories/GHSA-h376-j262-vhq6
- https://lists.debian.org/debian-lts-announce/2022/02/msg00017.html
- https://www.debian.org/security/2022/dsa-5076
- https://www.oracle.com/security-alerts/cpuapr2022.html
- https://jfrog.com/blog/the-jndi-strikes-back-unauthenticated-rce-in-h2-database-console/
- https://security.netapp.com/advisory/ntap-20220119-0001/
- https://www.secpod.com/blog/log4shell-critical-remote-code-execution-vulnerability-in-h2database-console/
- https://nvd.nist.gov/vuln/detail/CVE-2021-42392
- https://github.com/h2database/h2database
- https://github.com/h2database/h2database/releases/tag/version-2.0.206
- https://jfrog.com/blog/the-jndi-strikes-back-unauthenticated-rce-in-h2-database-console
- https://security.netapp.com/advisory/ntap-20220119-0001
- https://www.secpod.com/blog/log4shell-critical-remote-code-execution-vulnerability-in-h2database-console