WaratekVRT Sign in

CVE-2022-45868 H2

Affected softwareH2
Severity8.4 High CVSS 3.1 2 scores
Fixed in2.2.220
WeaknessInformation exposure (CWE-200)
Published23 Nov 2022
Updated17 Jun 2026

Disputed. The record is tagged disputed: someone contests that the vulnerability exists. We still show our assessment, because the dispute is about whether the vulnerability exists, not whether Waratek can block it.

Description

The web-based admin console in H2 Database Engine before 2.2.220 can be started via the CLI with the argument -webAdminPassword, which allows the user to specify the password in cleartext for the web admin console. Consequently, a local user (or an attacker that has obtained local access through some means) would be able to discover the password by listing processes and their arguments. NOTE: the vendor states "This is not a vulnerability of H2 Console ... Passwords should never be passed on the command line and every qualified DBA or system administrator is expected to know that." Nonetheless, the issue was fixed in 2.2.220.

CWE-312

Exploitation status

Proof of concept only

A proof of concept exists, but no reviewed exploit catalogue lists this CVE.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment exploitation: poc CISA recorded that an exploit has been demonstrated. Automatable: no, technical impact: total.
  • Indexed PoC none indexed
  • EPSS 0.32% chance in 30 days

Waratek protection

No exploit published

Within Waratek scope. In the sources we check, nobody has published exploit code for this CVE or reported it being exploited.

A public code fix exists: h2database/h2database #3833.

  • Protection none
  • Action unverified
  • Review automated Upstream data
  • Record disputed disputed
Decided by Exploit code for this candidate, published in a reviewed catalogue or a GitHub repository with 5 or more stars, or in use per CISA or VulnCheck; not only a CISA verdict, a forecast, or nothing at all
Finding This CVE is not listed in CISA KEV or VulnCheck KEV, CISA Vulnrichment records no active exploitation, no reviewed exploit catalogue carries an entry for it, and no GitHub PoC repository for it has 5 or more stars. Nobody has published exploit code worth tracing, so it is not a candidate for a rule ahead of the ones where somebody has; an upstream fix path does exist, so the remediation half of the candidacy still holds. This is a statement about what has been published, not about whether the defect is reachable or serious.
Candidate fix https://github.com/h2database/h2database/pull/3833 : a pull request: the change under review

CVSS

8.4 HIGH v3.1 CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H 2 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
CVSS 3.1 8.4 HIGH CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H cve@mitre.org Secondary published
CVSS 3.1 7.8 HIGH CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H NVD Primary

Affected software and releases

Oracle advisories

AdvisoryTypeQuarterProducts Oracle names in its risk matrix
Oracle Critical Patch Update January 2024 ↗ CPU 2024-Q1 Oracle Communications Applications / PSR Designer (H2 Database) (7.4.2.8.0)

Oracle components and versions

FamilyComponentVersions, as Oracle lists themRead as
Oracle Communications Applications PSR Designer (H2 Database) 7.4.2.8.0 7.4.2.8.0

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
com.h2database:h2 1.4.198 2.2.220 unbounded

Products and versions

2 products, 2 version entries
SourceVendorProductSchemeAffected versions
osv com.h2database h2 generic ≥ 1.4.198 and < 2.2.220
nvd h2database h2 generic ≤ 2.1.214

References

URLTags
https://github.com/h2database/h2database/pull/3833 pr
https://github.com/h2database/h2database/issues/3686 WEB
https://github.com/h2database/h2database/commit/581ed18ff9d6b3761d851620ed88a3994a351a0d WEB
https://github.com/advisories/GHSA-22wj-vf5f-wrvj ADVISORY
https://github.com/h2database/h2database PACKAGE
https://github.com/h2database/h2database/blob/96832bf5a97cdc0adc1f2066ed61c54990d66ab5/h2/src/main/org/h2/server/web/WebServer.java#L346-L347 WEB
https://github.com/h2database/h2database/releases/tag/version-2.2.220 WEB
https://sites.google.com/sonatype.com/vulnerabilities/sonatype-2022-6243 WEB

Timeline

Published2022-11-23By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.