Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
Maven

CVE-2021-42392

CRITICAL

RCE in H2 Console

Also known asGHSA-h376-j262-vhq6
Published
Jan 10, 2022
Updated
Apr 10, 2026
Affected
1 pkg
Patched
1 / 1
Exploits
2 known

EPSS Exploitation Probability

via FIRST.org ↗
90.6%probability of exploitation in next 30 days
Very High Risk100th percentile0.00%
89.8%90.4%91.0%91.5%90.6%90.6%Dec 25Apr 26Jun 26

EPSS (Exploit Prediction Scoring System) is a daily probability model maintained by FIRST.org. It estimates the likelihood a CVE will be exploited in production environments within the next 30 days, derived from real-world threat intelligence signals.

Blast Radius

1 pkg affected
com.h2database:h2

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.

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.

Affected Packages

1 total 1 fixed
EcosystemPackageVulnerable rangeFix
Mavencom.h2database:h21.1.100&&< 2.0.2062.0.206
Exploits & PoCs
2

Research use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.

Frequently Asked Questions

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.
O3 Security · Impact-Aware SCA

Is CVE-2021-42392 in your stack?

O3 detects CVE-2021-42392 across Maven dependencies and uses function-level reachability to confirm whether the vulnerable code path is actually reachable — not just present. No false positives.