Security mailing lists by PureSourceCode

CVE-2022-45868

HIGH 7.8CVSS 3.1

Password exposure in H2 Database

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.

Published
23 Nov 2022
Last modified
10 Sep 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-200CWE-312
Also known as
GHSA-22wj-vf5f-wrvj
Sources
NVDJSONOSV GHSA-22wj-vf5f-wrvjJSON

Scores

SourceScored byVersionScoreVector / decision
NVD cve@mitre.org (Secondary) CVSS 3.1 HIGH 8.4 CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.1 HIGH 7.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD h2database h2
cpe:2.3:a:h2database:h2:*:*:*:*:*:*:*:*
<= 2.1.214
OSV Maven com.h2database:h2 >= 1.4.198, < 2.2.220 2.2.220

References

History

  • 25 Nov 2026 20:35 UTC · NVD: first stored (published 23 Nov 2022)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 23 Nov 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.