GitHub Advisoryadvisory · Maven

GHSA-45hx-wfhj-473x Arbitrary code execution in H2 Console

CRITICAL Published 2022-01-21 Modified 2022-01-27 Official page ↗
Aliases
CVE-2022-23221
Ecosystem
Maven
Packages
com.h2database:h2
Severity
Critical
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-88
Reviewed
2022-01-20

Affected packages

• Maven com.h2database:h2: < 2.1.210 → fixed in 2.1.210

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

Alias · CVE (1)

  • CVE-2022-23221 H2 Console before 2.1.210 allows remote attackers to execute arbitrary code via a jdbc:h2:mem JDBC URL containing the… vulnerability

Weakness · CWE (1)

  • CWE-88 Improper Neutralization of Argument Delimiters in a Command weakness

References