CVE-2021-42392
CRITICALH2 < 2.0.204 - Insecure Deserialization
Title source: ruleDescription
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.
Exploits (2)
References (7)
Scores
CVSS v3
9.8
EPSS
0.9077
EPSS Percentile
99.6%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Classification
CWE
CWE-502
Status
published
Affected Products (6)
h2database/h2
< 2.0.204
debian/debian_linux
debian/debian_linux
debian/debian_linux
oracle/communications_cloud_native_core_policy
com.h2database/h2
< 2.0.206Maven
Timeline
Published
Jan 10, 2022
Tracked Since
Feb 18, 2026