Vulnerability in H2database H2

CVE-2022-45868

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.

EPSS: 0.003 (23.3th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 8.4 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2022-45868?
CVE-2022-45868 is a high-severity vulnerability in H2database H2, classified under Cleartext Storage of Sensitive Information. CVSS score: 8.4/10. Published 2022-11-23.
How severe is CVE-2022-45868?
High severity. CVSS v3 base score is 8.4 out of 10.
Is CVE-2022-45868 known to be exploited?
20 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.