CRITICAL

CVE-2021-42392

CVSS v3

9.8

CRITICAL

EPSS Score

90.8%

exploit probability

CISA KEV

No

known exploited

Exploitation

SSVC status

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.

Technical details

Published
1/10/2022

Frequently asked questions

What is 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.

Is CVE-2021-42392 actively exploited?

Active exploitation of CVE-2021-42392 has not been confirmed. The EPSS score is 90.8%, indicating the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2021-42392?

CVE-2021-42392 has a CVSS v3 base score of 9.8 (CRITICAL severity).

Is CVE-2021-42392 affecting your environment?

Use isMalicious to check if any of your IPs or domains are associated with this vulnerability's IOCs.