CVE-2021-42392 is a remote code execution vulnerability in H2 Database affecting versions 1.1.100 through 2.0.204. The flaw resides in org.h2.util.JdbcUtils.getConnection, which accepts a JDBC driver class name and database URL. An attacker able to control these values can specify a JNDI driver and an LDAP or RMI lookup location, causing H2 to retrieve and execute attacker-controlled code. The H2 Console is a significant attack surface because it can expose the vulnerable connection functionality to unauthenticated remote users.
Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.
What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
If you can’t patch tonight, do this now.
Patch, then assume compromise.
1 valid exploit after Mallory filtered fakes, detection scripts, and README-only repos.
This repository is a Proof-of-Concept (PoC) exploit for CVE-2021-42392, a critical remote code execution vulnerability in H2 Database versions prior to 2.0.206. The exploit leverages the CREATE ALIAS feature to execute arbitrary system commands on the server via a crafted SQL/Java payload. The repository provides a Docker-based lab environment with two main services: a vulnerable H2 Database server (running on port 9092) and a client container with a Python script (h2_exploit.py) that automates the exploitation process. The exploit script connects to the H2 server using JDBC, creates a malicious ALIAS, and triggers command execution. The setup requires the H2 TCP service to be exposed, valid database credentials, and the presence of the Java compiler on the server. The repository is structured for ease of testing and educational demonstration, with clear instructions and minimal dependencies.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.
20 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.
H2 Database의 신뢰할 수 없는 데이터 역직렬화 취약점. 영향을 받는 버전은 1.1.100 이상부터 2.0.204 이하이며, 2.0.206 이상에서 해결된다.
A critical vulnerability identified as CVE-2021-42392, tested locally via an HTTP Nuclei template against a `/test.do` endpoint. The supplied content suggests a JNDI-related condition but does not establish the affected product or full technical impact.
A specific vulnerability identified as CVE-2021-42392 is referenced in a GitHub pull request to add a Nuclei template, but no technical details about the flaw are provided in the content.
Remote code execution vulnerability in the H2 Console.
Query your assets running an affected version, and investigate the blast radius.
Every observed campaign linking this CVE to a named adversary.
Malware families riding this exploit, with evidence and IOCs.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Cross-references every affected SKU, including bundled OEM variants.
Community discussion across Reddit, Mastodon, and other social sources.