Arbitrary Argument Injection Affecting h2database package, versions <1.4.196-2ubuntu0.1~esm1


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
27.51% (97th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU1804-H2DATABASE-2353126
  • published1 Jun 2025
  • disclosed19 Jan 2022

Introduced: 19 Jan 2022

CVE-2022-23221  (opens in a new tab)
CWE-88  (opens in a new tab)

How to fix?

Upgrade Ubuntu:18.04 h2database to version 1.4.196-2ubuntu0.1~esm1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream h2database package and not the h2database package as distributed by Ubuntu. See How to fix? for Ubuntu:18.04 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1