CVE catalog

CVE-2022-45868

h2database: CVE-2022-45868

[CVE catalog]

Severity
High · CVSS 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Published
Source
[NVD] · [CVE record]
EPSS
0.31% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianh2databasesid2.5.252-2vulnerable
Debianh2databaseforky2.5.252-2vulnerable
Debianh2databasetrixie2.2.220-1vulnerable
Debianh2databasebookworm2.1.214-1vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianh2databasesourcesid(unfixed)unimportantNot reportedNot reported
Debianh2databasesourceforky(unfixed)unimportantNot reportedNot reported
Debianh2databasesourcetrixie(unfixed)unimportantNot reportedNot reported
Debianh2databasesourcebookworm(unfixed)unimportantNot reportedNot reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [libh2-java]Affected

    Source package: [h2database]

    Details (2)
    • 2.1.214-1 · all · bookworm

      Affected

      dsa · h2database · debian · bookworm

    • 2.1.214-1 · all · bookworm

      Affected

      dsa · h2database · debian · bookworm

  • [libh2-java-doc]Affected

    Source package: [h2database]

    Details (2)
    • 2.1.214-1 · all · bookworm

      Affected

      dsa · h2database · debian · bookworm

    • 2.1.214-1 · all · bookworm

      Affected

      dsa · h2database · debian · bookworm

Observed:

References