CVE-2022-23221H2database H2
Critical 9.8 No auth neededHigh EPSS
Follow: this CVE · H2database · H2database H2 We alert you by email or Slack (account required).
- Priority
- 77
- CVSS 3.1
- 9.8
- EPSS
- 29.7% probability of exploitation in 30 days · percentile 99
- Auth required
- No
- Published
- Jan 19, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-88
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for H2.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | com.h2database:h2 |
< 2.1.210 |
2.1.210 |
— |
Per OSV / GitHub Advisories (GHSA-45hx-wfhj-473x). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| h2database | h2 | ≥ 1.1.100 < 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 |
Official sources
References
Links published by the sources. Open them with care.
- packetstormsecurity.com Exploit Third Party Advisory VDB Entry
- seclists.org Exploit Mailing List Third Party Advisory
- github.com Patch Release Notes Third Party Advisory
- github.com Mitigation Patch Third Party Advisory
- lists.debian.org Mailing List Third Party Advisory
- security.netapp.com
- twitter.com Exploit Third Party Advisory
- www.debian.org Third Party Advisory
- www.oracle.com Patch Third Party Advisory
- www.oracle.com Not Applicable