CVE-2021-42392

EUVD-2022-0610
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.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
9.8 CRITICAL
NETWORK
LOW
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Base Score
CVSS 3.x
EPSS Score
Percentile: 99%
Affected Products (NVD)
VendorProductVersion
h2databaseh2
1.1.000 ≤
𝑥
≤ 2.0.204
debiandebian_linux
9.0
debiandebian_linux
10.0
debiandebian_linux
11.0
oraclecommunications_cloud_native_core_policy
1.15.0
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
h2database
bookworm
2.1.214-1
fixed
bullseye
1.4.197-4+deb11u1
fixed
bullseye (security)
1.4.197-4+deb11u1
fixed
sid
2.2.220-1
fixed
trixie
2.2.220-1
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
h2database
bionic
Fixed 1.4.196-2ubuntu0.1~esm1
released
focal
Fixed 1.4.197-4+deb10u1build0.20.04.1
released
hirsute
ignored
impish
Fixed 1.4.197-4+deb10u1build0.21.10.1
released
jammy
Fixed 2.1.210+really1.4.197-1
released
kinetic
ignored
lunar
ignored
mantic
not-affected
noble
not-affected
trusty
ignored
xenial
Fixed 1.4.191-1ubuntu0.1~esm1
released