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.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTNIST
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
JFROGCNA
---
---
CVEADP
---
---
Base Score
CVSS 3.x
EPSS Score
Percentile: 99%
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
bullseye (security)
1.4.197-4+deb11u1
fixed
bullseye
1.4.197-4+deb11u1
fixed
bookworm
2.1.214-1
fixed
sid
2.2.220-1
fixed
trixie
2.2.220-1
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
h2database
noble
not-affected
mantic
not-affected
lunar
ignored
kinetic
ignored
jammy
Fixed 2.1.210+really1.4.197-1
released
impish
Fixed 1.4.197-4+deb10u1build0.21.10.1
released
hirsute
ignored
focal
Fixed 1.4.197-4+deb10u1build0.20.04.1
released
bionic
Fixed 1.4.196-2ubuntu0.1~esm1
released
xenial
Fixed 1.4.191-1ubuntu0.1~esm1
released
trusty
ignored