CVE-2022-23221
published critical CVSS 3.1 · 9.8h2: Loading of custom classes from remote servers through JNDI
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Debian | bullseye | h2database | Advisory build | 1.4.197-4+deb11u1 | DSA-5076-1 |
| Ubuntu | bionic | h2database | Advisory build | 1.4.196-2ubuntu0.1~esm1 | USN-6834-1 |
| Debian | buster | h2database | Advisory build | 1.4.197-4+deb10u1 | DSA-5076-1 |
| Debian | stretch | h2database | Advisory build | 1.4.193-1+deb9u1 | DLA-2923-1 |
| Ubuntu | bionic | libh2-java | Advisory build | 1.4.196-2ubuntu0.1~esm1 | USN-6834-1 |
| Ubuntu | focal | h2database | Advisory build | 1.4.197-4+deb10u1build0.20.04.1 | USN-5365-1 |
| Ubuntu | focal | libh2-java | Advisory build | 1.4.197-4+deb10u1build0.20.04.1 | USN-5365-1 |
Show 2 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Ubuntu | xenial | h2database | Advisory build | 1.4.191-1ubuntu0.1~esm1 | USN-6834-1 |
| Ubuntu | xenial | libh2-java | Advisory build | 1.4.191-1ubuntu0.1~esm1 | USN-6834-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.8 / 10
- Severity
- critical
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
2- n/a
- CWE-88 CWE-88 Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')
References
10- http://packetstormsecurity.com/files/165676/H2-Database-Console-Remote-Code-Execution.html
- 20220124 Unauthenticated RCE vuln in the H2 Database console: CVE-2022-23221. 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
- [debian-lts-announce] 20220215 [SECURITY] [DLA 2923-1] h2database security update 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
- DSA-5076 https://www.debian.org/security/2022/dsa-5076
- https://www.oracle.com/security-alerts/cpuapr2022.html
- https://www.oracle.com/security-alerts/cpujul2022.html
Provider assertions
3mitre · cna
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 2c67c354853da94bc6489e7176919cdbfbc87b7463195798017f829c3820c56d
- Ingested
- 23 Sep 2026, 07:58:34 UTC
- Source record
- Official CVE record