Is com.h2database:h2 1.1 vulnerable?

Maven · 20 releases from 1.1.100 to 1.1.119 · latest com.h2database:h2 is 2.5.252 · checked 18 Nov 2026

Yes: 2 known advisories

Yes. com.h2database:h2 1.1.119, the last 1.1 release, is affected by 2 known security advisories (2 critical), including CVE-2022-23221, CVE-2021-42392. Upgrade to 2.1.210 or later to fix all of them.

Upgrade with:mvn versions:use-dep-version -Dincludes=com.h2database:h2 -DdepVersion=2.1.210 -DforceVersion=true

Is your project on an affected com.h2database:h2?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Java apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Advisories affecting com.h2database:h2 1.1.119

  • CriticalCVE-2022-23221GHSA-45hx-wfhj-473x21 Jan 2022

    Arbitrary code execution in H2 Console

    Affected
    <2.1.210
    Fixed in
    2.1.210
  • CriticalCVE-2021-42392GHSA-h376-j262-vhq66 Jan 2022

    RCE in H2 Console

    Affected
    >=1.1.100 <2.0.206
    Fixed in
    2.0.206

Every com.h2database:h2 1.1.x release

Affected: 1.1.100 to 1.1.119. Latest com.h2database:h2: 2.5.252.

VersionKnown advisories
com.h2database:h2 1.1.119CVE-2022-23221, CVE-2021-42392
com.h2database:h2 1.1.118CVE-2022-23221, CVE-2021-42392
com.h2database:h2 1.1.117CVE-2022-23221, CVE-2021-42392
com.h2database:h2 1.1.116CVE-2022-23221, CVE-2021-42392
com.h2database:h2 1.1.115CVE-2022-23221, CVE-2021-42392
com.h2database:h2 1.1.114CVE-2022-23221, CVE-2021-42392
com.h2database:h2 1.1.113CVE-2022-23221, CVE-2021-42392
com.h2database:h2 1.1.112CVE-2022-23221, CVE-2021-42392
com.h2database:h2 1.1.111CVE-2022-23221, CVE-2021-42392
com.h2database:h2 1.1.110CVE-2022-23221, CVE-2021-42392
com.h2database:h2 1.1.109CVE-2022-23221, CVE-2021-42392
com.h2database:h2 1.1.108CVE-2022-23221, CVE-2021-42392
com.h2database:h2 1.1.107CVE-2022-23221, CVE-2021-42392
com.h2database:h2 1.1.106CVE-2022-23221, CVE-2021-42392
com.h2database:h2 1.1.105CVE-2022-23221, CVE-2021-42392
com.h2database:h2 1.1.104CVE-2022-23221, CVE-2021-42392
com.h2database:h2 1.1.103CVE-2022-23221, CVE-2021-42392
com.h2database:h2 1.1.102CVE-2022-23221, CVE-2021-42392
com.h2database:h2 1.1.101CVE-2022-23221, CVE-2021-42392
com.h2database:h2 1.1.100CVE-2022-23221, CVE-2021-42392

Which of your client projects are still on com.h2database:h2 1.1?

NPMscan reads the lockfiles in every GitHub repo you pick, finds the exact com.h2database:h2 version each one installs, and checks it against these advisories. Each finding comes with the command that fixes it.

Other com.h2database:h2 versions

Advisory data from OSV.dev (opens OSV.dev in a new tab), which includes the GitHub Advisory Database. Release list from the Maven registry. Refreshed daily.