Vulnerability · Published Jan 19, 2022 · Assigned by mitre

CVE-2022-23221

Critical 9.8

In plain English

A critical-severity argument injection in the h2database package (Debian). Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 64.8% (higher than 99.2% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)9.8Critical
Exploit odds (30 days)64.8%top 0.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack tooling1Public PoC

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12h2database2.1.210-1DEBIAN-CVE-2022-23221
Debian:13h2database2.1.210-1DEBIAN-CVE-2022-23221
Debian:14h2database2.1.210-1DEBIAN-CVE-2022-23221
Mavencom.h2database:h22.1.210GHSA-45hx-wfhj-473x
Ubuntu:22.04:LTSh2database2.1.210+really1.4.197-1UBUNTU-CVE-2022-23221

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

Weakness: CWE-88 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

References