What’s Vulnerable › Vulnerabilities
CVE-2022-23221
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 64.8% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2022-01-19 · updated 2026-06-17
- Weakness: CWE-88
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.
Affected products
- Debian Linux: 9.0, 10.0, 11.0
- com.h2database:h2: from 1.1.100 before 2.0.206 — fixed in 2.0.206
- Oracle Communications Cloud Native Core Console: 1.9.0
How to fix
Upgrade to a fixed version: com.h2database:h2 2.0.206. Check the vendor advisory for mitigations.
References
- http://packetstormsecurity.com/files/165676/H2-Database-Console-Remote-Code-Execution.html
- http://seclists.org/fulldisclosure/2022/Jan/39
- https://github.com/h2database/h2database/releases/tag/version-2.1.210
- https://github.com/h2database/h2database/security/advisories
- https://lists.debian.org/debian-lts-announce/2022/02/msg00017.html
- https://security.netapp.com/advisory/ntap-20230818-0011/
- https://twitter.com/d0nkey_man/status/1483824727936450564
- https://www.debian.org/security/2022/dsa-5076
- https://www.oracle.com/security-alerts/cpuapr2022.html
- https://www.oracle.com/security-alerts/cpujul2022.html
- http://packetstormsecurity.com/files/165676/H2-Database-Console-Remote-Code-Execution.html
- http://seclists.org/fulldisclosure/2022/Jan/39
Get alerted when CVE-2022-23221 or the next vulnerability affects your stack