CVE-2022-23221: Arbitrary code execution in H2 Console

CVE-2022-23221 · Severity: low · CVSS 3.1 · Published 2022-01-21

Arbitrary code execution in H2 Console

Technologies: com.h2database:h2 (Maven). Vendors: Maven.

Quick answers

Is CVE-2022-23221 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2022-23221 being exploited in the wild.
How severe is CVE-2022-23221?
Low severity, with a CVSS score of 3.1, published 21 January 2022.
Which products and versions are affected?
com.h2database:h2 (Maven) ECOSYSTEM:introduced=0,fixed=2.1.210.
Is there a fix for CVE-2022-23221?
Yes. com.h2database:h2 (Maven): upgrade to 2.1.210 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2022-23221?
Check whether you run com.h2database:h2 (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • com.h2database:h2 (Maven): upgrade to 2.1.210 or later
    # set com.h2database:h2 to 2.1.210 in your pom.xml or build.gradle

Affected products

  • com.h2database:h2 (Maven) ECOSYSTEM:introduced=0,fixed=2.1.210

Identifiers

  • CVE-2022-23221
  • GHSA-45hx-wfhj-473x

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.