CVSS 3.1
9.8 criticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HCritical (9.8). EPSS 83% estimated probability of exploitation activity in the next 30 days. Fixed in com.h2database:h2 2.0.206.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:Hcom.h2database:h2 (Maven): fixed in 2.0.206Explain CVE-2021-42392 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-42392?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-42392?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-42392 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the CNA's record in the CVE List.
| Product | Affected |
|---|---|
| h2database h2 | 1.1.000 and later |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-h376-j262-vhq6 | Maven | com.h2database:h2 | >=1.1.100 <2.0.206 | 2.0.206 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 9 | h2database | 1.4.193-1+deb9u1 | DLA-2923-1 |
| Debian | 10 | h2database | 1.4.197-4+deb10u1 | DSA-5076-1 |
| Debian | 11 | h2database | 1.4.197-4+deb11u1 | DSA-5076-1 |
| Debian | 12, 13, 14 | h2database | 2.1.210-1 | DEBIAN-CVE-2021-42392 |
| Ubuntu | 20.04:LTS | h2database | 1.4.197-4+deb10u1build0.20.04.1 | UBUNTU-CVE-2021-42392 USN-5365-1 |
| Ubuntu | 22.04:LTS | h2database | 2.1.210+really1.4.197-1 | UBUNTU-CVE-2021-42392 |
| Ubuntu | Pro:16.04:LTS | h2database | 1.4.191-1ubuntu0.1~esm1 | UBUNTU-CVE-2021-42392 USN-6834-1 |
| Ubuntu | Pro:18.04:LTS | h2database | 1.4.196-2ubuntu0.1~esm1 | UBUNTU-CVE-2021-42392 USN-6834-1 |
| Red Hat | jboss_enterprise_application_platform:7.4::el7 | eap7-activemq-artemis, eap7-activemq-artemis-ra, eap7-activemq-artemis-cli and 13 more | 0:2.16.0-9.redhat_00042.1.el7eap | RHSA-2022:4918 |
| Red Hat | jboss_enterprise_application_platform:7.4::el7 | eap7-h2database | 0:1.4.197-2.redhat_00004.1.el7eap | RHSA-2022:4918 |
| Red Hat | jboss_enterprise_application_platform:7.4::el7 | eap7-hal-console | 0:3.3.12-1.Final_redhat_00001.1.el7eap | RHSA-2022:4918 |
| Red Hat | jboss_enterprise_application_platform:7.4::el7 | eap7-jackson-databind | 0:2.12.6.1-1.redhat_00003.1.el7eap | RHSA-2022:4918 |
| Red Hat | jboss_enterprise_application_platform:7.4::el7 | eap7-jboss-xnio-base | 0:3.8.7-1.SP1_redhat_00001.1.el7eap | RHSA-2022:4918 |
| Red Hat | jboss_enterprise_application_platform:7.4::el7 | eap7-netty, eap7-netty-all, eap7-netty-codec and 25 more | 0:4.1.72-4.Final_redhat_00001.1.el7eap | RHSA-2022:4918 |
| Red Hat | jboss_enterprise_application_platform:7.4::el7 | eap7-undertow | 0:2.2.17-2.SP4_redhat_00001.1.el7eap | RHSA-2022:4918 |
| Red Hat | jboss_enterprise_application_platform:7.4::el7 | eap7-wildfly, eap7-wildfly-modules, eap7-wildfly-javadocs and 2 more | 0:7.4.5-3.GA_redhat_00001.1.el7eap | RHSA-2022:4918 |
| Red Hat | jboss_enterprise_application_platform:7.4::el7 | eap7-wildfly-http-client, eap7-wildfly-http-ejb-client, eap7-wildfly-http-client-common and 2 more | 0:1.1.11-1.SP1_redhat_00001.1.el7eap | RHSA-2022:4918 |
| Red Hat | jboss_enterprise_application_platform:7.4::el7 | eap7-xerces-j2 | 0:2.12.0-3.SP04_redhat_00001.1.el7eap | RHSA-2022:4918 |
| Red Hat | jboss_enterprise_application_platform:7.4::el8 | eap7-activemq-artemis, eap7-activemq-artemis-ra, eap7-activemq-artemis-cli and 13 more | 0:2.16.0-9.redhat_00042.1.el8eap | RHSA-2022:4919 |
| Red Hat | jboss_enterprise_application_platform:7.4::el8 | eap7-h2database | 0:1.4.197-2.redhat_00004.1.el8eap | RHSA-2022:4919 |
| 23 more for Red Hat in the JSON and on Red Hat's page. | ||||
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat.
Red Hat rates this Moderate.
In OpenShift Container Platform (OCP) the openshift4/ose-metering-presto container image ships the vulnerable version of h2, but as it uses default configuration the impact by this vulnerability is LOW. Additionally, the Presto component is part of the OCP Metering stack and since the release of OCP 4.6, the Metering product has been deprecated [1], hence the affected component is marked as wontfix.
[1] https://docs.openshift.com/container-platform/4.6/release_notes/ocp-4-6-release-notes.html#ocp-4-6-metering-operator-deprecated
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat JBoss Enterprise Application Platform | com.h2database/h2:1.4.197.redhat-00004 | Fixed 2022-06-06 | RHSA-2022:4922 |
| Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7 | eap7-hal-console-0:3.2.17-1.Final_redhat_00001.1.el7eap | Fixed 2025-02-24 | RHSA-2025:1747 |
| Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7 | eap7-jackson-annotations-0:2.10.4-2.redhat_00004.1.el7eap | Fixed 2025-02-24 | RHSA-2025:1747 |
| Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7 | eap7-jackson-core-0:2.10.4-2.redhat_00004.1.el7eap | Fixed 2025-02-24 | RHSA-2025:1747 |
| Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7 | eap7-jackson-databind-0:2.10.4-4.redhat_00004.1.el7eap | Fixed 2025-02-24 | RHSA-2025:1747 |
| Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7 | eap7-jackson-jaxrs-providers-0:2.10.4-2.redhat_00004.1.el7eap | Fixed 2025-02-24 | RHSA-2025:1747 |
| Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7 | eap7-jackson-modules-base-0:2.10.4-4.redhat_00004.1.el7eap | Fixed 2025-02-24 | RHSA-2025:1747 |
| Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7 | eap7-jackson-modules-java8-0:2.10.4-2.redhat_00004.1.el7eap | Fixed 2025-02-24 | RHSA-2025:1747 |
| Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7 | eap7-jettison-0:1.5.2-2.redhat_00002.1.el7eap | Fixed 2025-02-24 | RHSA-2025:1747 |
| Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7 | eap7-netty-0:4.1.63-4.Final_redhat_00002.1.el7eap | Fixed 2025-02-24 | RHSA-2025:1747 |
| Red Hat BPM Suite 6 | h2 | Out of support scope | |
| Red Hat build of Apicurio Registry 2 | h2 | Affected | |
| Red Hat Decision Manager 7 | h2 | Not affected | |
| Red Hat Fuse 7 | h2 | Not affected | |
| Red Hat Integration Camel K 1 | h2 | Not affected | |
| Red Hat Integration Camel Quarkus 1 | h2 | Affected | |
| Red Hat JBoss BRMS 5 | h2 | Out of support scope | |
| Red Hat JBoss BRMS 6 | h2 | Out of support scope | |
| Red Hat JBoss Data Grid 7 | h2 | Out of support scope | |
| Red Hat JBoss Data Virtualization 6 | h2 | Out of support scope | |
| 23 more in the JSON and on Red Hat's page. | |||
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-42392.
Ways to detect this CVE, not exploit code: the nuclei template that checks a system for it, and the Suricata and Snort rules that name it. A rule set may ship a rule turned off, so check yours by its sid.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.