CVE-2022-23221
CRITICAL 9.8CVSS 3.1Arbitrary code execution in H2 Console
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.
- Published
- 19 Jan 2022
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-88
- Also known as
- GHSA-45hx-wfhj-473x
- Sources
- NVDJSONOSV GHSA-45hx-wfhj-473xJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 10.0 | AV:N/AC:L/Au:N/C:C/I:C/A:C |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | h2database | h2cpe:2.3:a:h2database:h2:*:*:*:*:*:*:*:* |
>= 1.1.100, < 2.0.206 | 2.0.206 |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* |
= 9.0 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* |
= 10.0 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* |
= 11.0 | |
| NVD | oracle | communications_cloud_native_core_consolecpe:2.3:a:oracle:communications_cloud_native_core_console:1.9.0:*:*:*:*:*:*:* |
= 1.9.0 | |
| OSV | Maven | com.h2database:h2 | < 2.1.210 | 2.1.210 |
References
- http://packetstormsecurity.com/files/165676/H2-Database-Console-Remote-Code-Execution.html · Exploit, Third Party Advisory, VDB Entry, WEB
- http://seclists.org/fulldisclosure/2022/Jan/39 · Exploit, Mailing List, Third Party Advisory, WEB
- https://github.com/h2database/h2database/releases/tag/version-2.1.210 · Patch, Release Notes, Third Party Advisory, WEB
- https://github.com/h2database/h2database/security/advisories · Mitigation, Patch, Third Party Advisory, WEB
- https://lists.debian.org/debian-lts-announce/2022/02/msg00017.html · Mailing List, Third Party Advisory, WEB
- https://security.netapp.com/advisory/ntap-20230818-0011/ · WEB
- https://twitter.com/d0nkey_man/status/1483824727936450564 · Exploit, Third Party Advisory, WEB
- https://www.debian.org/security/2022/dsa-5076 · Third Party Advisory, WEB
- https://www.oracle.com/security-alerts/cpuapr2022.html · Patch, Third Party Advisory, WEB
- https://www.oracle.com/security-alerts/cpujul2022.html · Not Applicable, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-23221 · ADVISORY
- https://github.com/h2database/h2database · PACKAGE
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 19 Jan 2022)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 21 Jan 2022)