CVE-2021-42392

CRITICAL

H2 < 2.0.204 - Insecure Deserialization

Title source: rule
STIX 2.1

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.

Exploits (2)

nomisec WORKING POC
by Be-Innova · poc
https://github.com/Be-Innova/CVE-2021-42392-exploit-lab
inthewild SCANNER
poc
https://github.com/cybersecurityworks553/cve-2021-42392-detect

Scores

CVSS v3 9.8
EPSS 0.9059
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

Details

CWE
CWE-502
Status published
Products (6)
com.h2database/h2 1.1.100 - 2.0.206Maven
debian/debian_linux 9.0
debian/debian_linux 10.0
debian/debian_linux 11.0
h2database/h2 1.1.000 - 2.0.204
oracle/communications_cloud_native_core_policy 1.15.0
Published Jan 10, 2022
Tracked Since Feb 18, 2026