com.h2database:h2 vulnerabilities

H2 Database Engine

Registry
Maven
Latest
2.5.252
License
MPL 2.0

4 known advisories

The latest version, 2.5.252, is not affected by any of them. Projects on older versions may be.

Update to the latest version:mvn versions:use-dep-version -Dincludes=com.h2database:h2 -DdepVersion=2.5.252 -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

Security advisories for com.h2database:h2

  • HighCVE-2022-45868GHSA-22wj-vf5f-wrvj23 Nov 2022

    Password exposure in H2 Database

    Affected
    >=1.4.198 <2.2.220
    Fixed in
    2.2.220
  • 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
  • HighCVE-2021-23463GHSA-7rpj-hg47-cx6216 Dec 2021

    Improper Restriction of XML External Entity Reference in com.h2database:h2.

    Affected
    >=1.4.198 <2.0.202
    Fixed in
    2.0.202

Is your com.h2database:h2 version vulnerable?

Which of your client projects still run an old com.h2database:h2?

NPMscan reads the pom.xml, build.gradle and gradle.lockfile in every GitHub repo you pick and checks each installed version against these advisories, including the packages your packages pull in. Each finding comes with the command that fixes it.

Other Maven packages

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily. Package details from the Maven registry.