Maven (Java)Worst: Critical4 advisories

com.h2database:h2: known vulnerabilities

com.h2database:h2 has 4 reviewed security advisories in the GitHub Advisory Database — 2 critical, 2 high. The most recent was published 2022-11-23. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the com.h2database:h2 versions running across your servers, containers and images, and ranks what to patch first.

How to fix com.h2database:h2

Upgrade com.h2database:h2 to a release at or above the fixed version shown for each advisory below. For Maven (Java):

Bump the dependency to 2.2.220 in your pom.xml or build.gradle

SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.

Advisories (4)

Password exposure in H2 Database High 7.8 CWE-200 CWE-312 — Affected: from 1.4.198 up to 2.2.220. Fixed in 2.2.220. Published 2022-11-23. GHSA-22wj-vf5f-wrvj · CVE-2022-45868
Arbitrary code execution in H2 Console Critical 9.8 CWE-88 — Affected: before 2.1.210. Fixed in 2.1.210. Published 2022-01-19. GHSA-45hx-wfhj-473x · CVE-2022-23221
Improper Restriction of XML External Entity Reference in com.h2database:h2. High 8.1 CWE-611 — Affected: from 1.4.198 up to 2.0.202. Fixed in 2.0.202. Published 2021-12-10. GHSA-7rpj-hg47-cx62 · CVE-2021-23463

Find com.h2database:h2 across your fleet

Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA, CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month. Start free.