Live threats

All CVEs / H2database

CVE-2022-23221H2database H2

Critical 9.8 No auth neededHigh EPSS

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for H2.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
h2databaseh2≥ 1.1.100 < 2.0.206
debiandebian_linux9.0
debiandebian_linux10.0
debiandebian_linux11.0
oraclecommunications_cloud_native_core_console1.9.0

Official sources

References

Links published by the sources. Open them with care.