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 65% estimated probability of exploitation activity in the next 30 days. Fixed in com.h2database:h2 2.1.210.
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.1.210Explain CVE-2022-23221 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-23221?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-23221?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-2022-23221 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 NVD's CPE matches.
| Product | Affected |
|---|---|
| h2database:h2 | from 1.1.100 before 2.0.206 |
| debian:debian_linux | 9.0 |
| debian:debian_linux | 10.0 |
| debian:debian_linux | 11.0 |
| oracle:communications_cloud_native_core_console | 1.9.0 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-45hx-wfhj-473x | Maven | com.h2database:h2 | <2.1.210 | 2.1.210 |
| 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-2022-23221 |
| Ubuntu | 20.04:LTS | h2database | 1.4.197-4+deb10u1build0.20.04.1 | UBUNTU-CVE-2022-23221 USN-5365-1 |
| Ubuntu | 22.04:LTS | h2database | 2.1.210+really1.4.197-1 | UBUNTU-CVE-2022-23221 |
| Ubuntu | Pro:16.04:LTS | h2database | 1.4.191-1ubuntu0.1~esm1 | UBUNTU-CVE-2022-23221 USN-6834-1 |
| Ubuntu | Pro:18.04:LTS | h2database | 1.4.196-2ubuntu0.1~esm1 | UBUNTU-CVE-2022-23221 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 |
| 29 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 Important.
In OpenShift Container Platform (OCP) the openshift-enterprise-3.11/metrics-hawkular-metrics-container container image ships a vulnerable version of h2 as part of the underlying images, but as it uses standard configuration and Console is not enabled/started by default, therefore the impact by this vulnerability is LOW and will not be fixed as OCP 3.x has already reached End of Full Support.
[1] https://access.redhat.com/support/policy/updates/openshift_noncurrent
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Fuse 7.11 | h2 | Fixed 2022-07-07 | RHSA-2022:5532 |
| 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.1 EUS for RHEL 7 | eap7-h2database-0:1.4.197-2.redhat_00005.1.ep7.el7 | Fixed 2024-11-25 | RHSA-2024:10208 |
| Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7 | eap7-apache-cxf-0:3.4.10-1.SP1_redhat_00001.1.el7eap | Fixed 2024-11-25 | RHSA-2024:10207 |
| Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7 | eap7-avro-0:1.7.6-8.redhat_00003.1.el7eap | Fixed 2024-11-25 | RHSA-2024:10207 |
| Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7 | eap7-h2database-0:1.4.197-3.redhat_00004.1.el7eap | Fixed 2024-11-25 | RHSA-2024:10207 |
| Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7 | eap7-jboss-annotations-api_1.3_spec-0:2.0.1-4.Final_redhat_00001.1.el7eap | Fixed 2024-11-25 | RHSA-2024:10207 |
| Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7 | eap7-jboss-marshalling-0:2.0.15-1.Final_redhat_00001.1.el7eap | Fixed 2024-11-25 | RHSA-2024:10207 |
| Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7 | eap7-jboss-server-migration-0:1.7.2-12.Final_redhat_00013.1.el7eap | Fixed 2024-11-25 | RHSA-2024:10207 |
| Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7 | eap7-jboss-xnio-base-0:3.7.13-1.Final_redhat_00001.1.el7eap | Fixed 2024-11-25 | RHSA-2024:10207 |
| Red Hat BPM Suite 6 | h2 | Out of support scope | |
| Red Hat build of Apicurio Registry 2 | h2 | Fix deferred | |
| Red Hat Decision Manager 7 | h2 | Not affected | |
| Red Hat Integration Camel K 1 | h2 | Not affected | |
| Red Hat Integration Camel Quarkus 1 | h2 | Not 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 | |
| Red Hat JBoss Enterprise Application Platform 6 | h2 | Out of support scope | |
| 16 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-2022-23221.
Repositories on GitHub named after this CVE or listed for it by the PoC-in-GitHub index. For those marked Harbor Check: matches CVE, Flawharbor read the code and found it implements this CVE's exploitation technique: read, not run, and its dependencies only checked for warning signs, so a pointer and no guarantee. The rest are unverified: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it. How Harbor Check reads them, and what it found.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.