h2database h2 CVE-2021-42392 vulnerability in H2database and Other Products
Published on January 10, 2022

product logo product logo product logo product logo
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.

Vendor Advisory NVD

Weakness Type

What is a Marshaling, Unmarshaling Vulnerability?

The application deserializes untrusted data without sufficiently verifying that the resulting data will be valid.

CVE-2021-42392 has been classified to as a Marshaling, Unmarshaling vulnerability or weakness.


Products Associated with CVE-2021-42392

You can be notified by email with stack.watch whenever vulnerabilities like CVE-2021-42392 are published in these products:

 
 
 
 

Affected Versions

h2database h2:

Exploit Probability

EPSS
90.77%
Percentile
99.61%

EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.