# CVE-2022-23221: libh2-java: H2 Console before 2.1.210 allows remote attackers to execute arbitrary code via a jdbc:h2:mem JDBC URL containing the...

CVE-2022-23221 is fixed in 2 products on 1 platform, first by libh2-java 1.4.196-2ubuntu0.1~esm1, released January 19, 2022. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2022-23221
- Priority: High
- CVSS: 9.8 (Medium)
- EPSS: 0.6477
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Jan 19, 2022

## 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.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | h2database Debian 12.15 (bookworm) | 2.1.210-1 | [DEBIAN-CVE-2022-23221](https://patchblox.com/security/data/fix/linux/debian-cve-2022-23221.md) | Jan 19, 2022 |
| Linux | h2database Debian 13.5 (trixie) | 2.1.210-1 | [DEBIAN-CVE-2022-23221](https://patchblox.com/security/data/fix/linux/debian-cve-2022-23221.md) | Jan 19, 2022 |
| Linux | h2database Debian 14 | 2.1.210-1 | [DEBIAN-CVE-2022-23221](https://patchblox.com/security/data/fix/linux/debian-cve-2022-23221.md) | Jan 19, 2022 |
| Linux | libh2-java Ubuntu 18.04.6 LTS (bionic) | 1.4.196-2ubuntu0.1~esm1 | [libh2-java 1.4.196-2ubuntu0.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libh2-java-1.4.196-2ubuntu0.1-esm1.md) | Jan 19, 2022 |
| Linux | libh2-java Ubuntu 20.04 LTS (focal) | 1.4.197-4+deb10u1build0.20.04.1 | [libh2-java 1.4.197-4+deb10u1build0.20.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libh2-java-1.4.197-4-deb10u1build0.20.04.1.md) | Jan 19, 2022 |
| Linux | libh2-java Ubuntu 22.04.1 LTS (jammy) | 2.1.210+really1.4.197-1 | [libh2-java 2.1.210+really1.4.197-1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-libh2-java-2.1.210-really1.4.197-1.md) | Jan 19, 2022 |

---

Data as of 2026-11-08T06:59:42Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
