CVE-2022-23221
A public proof of concept exists; no exploitation attested.
- Published2022-01-19
- Fixed in2.1.210
- WeaknessCWE-88
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
Description
H2 Console before 2.1.210 allows remote attackers to execute arbitrary code via a jdbc:h2:mem JDBC URL containing the IGNORE_UNKNOWN_SETTINGS=TRUE;FORBID_CREATION=FALSE;INIT=RUNSCRIPT substring, a different vulnerability than CVE-2021-42392.
Timeline
dates in UTC- 2022-01-1917:15CVE publishedNVD
Observed activity
isMalicious corpus · updated 2026-11-03 21:37 UTCBlock these indicators
- Firewall list (EDL, text): https://api.ismalicious.com/edl/cve/CVE-2022-23221?format=txt
- CSV export: https://api.ismalicious.com/edl/cve/CVE-2022-23221?format=csv
- TAXII collection of exploited CVEs
- The EDL and CSV take an API key on the Pro plan.
Versions per branch
OSV · NVD| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 2.1 | < 2.1.210 | 2.1.210 | OSV |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 9.0 | = 9.0 | no fix published | NVD |
| 10.0 | = 10.0 | no fix published | NVD |
| 11.0 | = 11.0 | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 2.0 | ≥ 1.1.100, < 2.0.206 | 2.0.206 | NVD |
1 more product in the sources.
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- com.h2database:h2TuxCare:Mavenfrom 1.4.200 · fixed in 1.4.200-tuxcare.1
- com.h2database:h2TuxCare:Mavenfrom 1.3.176 · fixed in 1.3.176-tuxcare.2
- eap7-activemq-artemisRed Hat:jboss_enterprise_application_platform:7.4::el8all versions · fixed in 0:2.16.0-9.redhat_00042.1.el8eapand 15 other packages
- eap7-activemq-artemisRed Hat:jboss_enterprise_application_platform:7.4::el7all versions · fixed in 0:2.16.0-9.redhat_00042.1.el7eapand 15 other packages
- eap7-apache-cxfRed Hat:jboss_enterprise_application_platform_eus:7.3::el7all versions · fixed in 0:3.4.10-1.SP1_redhat_00001.1.el7eapand 3 other packages
- eap7-apache-cxfRed Hat:jboss_enterprise_application_platform_eus:7.1::el7all versions · fixed in 0:3.1.16-3.SP1_redhat_00001.1.ep7.el7and 3 other packages
- eap7-avroRed Hat:jboss_enterprise_application_platform_eus:7.3::el7all versions · fixed in 0:1.7.6-8.redhat_00003.1.el7eap
- eap7-avroRed Hat:jboss_enterprise_application_platform_eus:7.1::el7all versions · fixed in 0:1.7.6-2.redhat_00003.1.ep7.el7
45 more package ranges on OSV.dev
Vendor advisories
h2: Loading of custom classes from remote servers through JNDI
h2 as a component of Red Hat BPM Suite 6 · h2 as a component of Red Hat build of Apicurio Registry 2 · h2 as a component of Red Hat JBoss BRMS 5 · +11 more
Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 7.3.11 Security update
Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 7.1.8 on RHEL 7 security update
Red Hat Security Advisory: Red Hat Fuse 7.11.0 release and security update
Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 7.4.5 security update on RHEL 8
Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 7.4.5 security update on RHEL 7
1 more advisory
Fix
- Update h2 to 2.1.210
- Vendor fix Red Hat Product Security RHSA-2024:10207 · 59 productsBefore applying this update, ensure all previously released errata relevant to your system have been applied. Also, back up your existing installation, including all applications, configuration files, databases and database settings. For details on how to apply this update, refer to: https://access…
- Vendor fix Red Hat Product Security RHSA-2022:5532 · 1 productBefore applying the update, back up your existing installation, including all applications, configuration files, databases and database settings, and so on. Installation instructions are available from the Fuse 7.11.0 product documentation page: https://access.redhat.com/documentation/en-us/red_ha…
- Vendor fix Red Hat Product Security RHSA-2022:4919 · 2 productsBefore applying this update, back up your existing Red Hat JBoss Enterprise Application Platform installation and deployed applications. For details on how to apply this update, refer to: https://access.redhat.com/articles/11258
- Vendor fix Red Hat Product Security RHSA-2022:4922 · 1 productBefore applying this update, back up your existing Red Hat JBoss Enterprise Application Platform installation and deployed applications. The References section of this erratum contains a download link (you must log in to download the update).
- No fix available, says the vendor Red Hat Product Security CVE-2022-23221 · 1 productFix deferred
- No fix available, says the vendor Red Hat Product Security CVE-2022-23221 · 1 productAffected
Advisories and patches
- github.comPatch · Release Notes
- github.comMitigation · Patch
- www.oracle.comPatch
Detection
read 2026-11-03 22:42 UTC- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof-of-concept repositories
- 2 repositories, unverifiedstraightSang/H2-database-CVE-2022-23221CyberCTF/vulhub-h2database-cve-2022-23221 PoC-in-GitHub
- Metasploit modules
- none listed Metasploit Framework
Sources
- CISA-ADPSSVC decisionpoc2025-04-23
- OpenCVESSVC decisionpoc—
- CISA-ADPCVSS 3.19.82025-05-05
- NVDCVSS 3.19.8read 2026-10-23
- NVDCVSS 2.010read 2026-10-23
- CISA-ADPweakness (CWE)CWE-882025-05-05
- NVDweakness (CWE)CWE-88read 2026-10-23
- FIRST EPSSEPSS score64.8 %read 2026-11-03
- PoC-in-GitHubproof of concept2read 2026-11-03
- OSVaffected packages—
- GitHub AdvisoriesadvisoryCRITICAL2022-01-20
Identifiers
- EUVD-2022-0440same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-45hx-wfhj-473xsame flawGitHub Advisory Database · CC-BY-4.0
- DLA-2923-1advisory covering several CVEsDebian · LicenseRef-unstated
- DSA-5076-1advisory covering several CVEsDebian · LicenseRef-unstated
- RHSA-2022:4918advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2022:4919advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2024:10207advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2024:10208advisory covering several CVEsRed Hat · CC-BY-4.0
- USN-5365-1advisory covering several CVEsUbuntu
- USN-6834-1advisory covering several CVEsUbuntu
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Published
- 2022-01-19
- Last Modified
- 2026-06-17
- NVD status
- Modified
- GitHub Advisory
- GHSA-45hx-wfhj-473x
Frequently asked questions
What is CVE-2022-23221?
Is CVE-2022-23221 actively exploited?
What is the CVSS score for CVE-2022-23221?
Running h2? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-45hx-wfhj-473x
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OpenCVE · OpenCVE terms of service · terms restrict redistribution
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- PoC-in-GitHub · CC0-1.0
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- CISA Vulnrichment · CC0-1.0