CVE-2022-45868: h2database h2
Vulnerability summary
CVE-2022-45868 is a high (CVSS 8.4) vulnerability in h2database h2. EPSS estimates a 0.32% chance of exploitation in the next 30 days, higher than 25.1% of scored vulnerabilities. 1 public exploit is recorded.
Public exploit (reference, Date unknown)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 0 · Related 3Timeline
- 23-11-2022PublishedVulnerability first disclosed.
- 19-11-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
6 scores · 6 sources · 1 version- OSV · DebianEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HDiffers
- OSV · WolfiEcosystem advisory · calculated8.4HighCVSS:3.1/AC:L/AV:L/A:H/C:H/I:H/PR:N/S:U/UI:N
- OSV · ChainguardEcosystem advisory · calculated8.4HighCVSS:3.1/AC:L/AV:L/A:H/C:H/I:H/PR:N/S:U/UI:N
- OSV · MavenEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HDiffers
- NVDNIST7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HDiffers
EPSS trend
Probability
0.32%
Chance of exploitation in the next 30 days
Percentile
25%
Versus all other CVEs
30-day change
Increase +0.01 pp
From 0.31% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundExploit Reference (sites.google.com)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard4 products
- eco-java-gradle-8.2All versions (No fix recorded)
- eco-java-gradle-8.2.1All versions (No fix recorded)
- eco-java-gradle-8.3All versions (No fix recorded)
- gradle-8All versions (No fix recorded)
Com.h2database1 product
- h2≥ 1.4.198, < 2.2.220
Debian1 product
- h2databaseAll versions (No fix recorded)
H2database1 product
- h2≤ 2.1.214
Wolfi1 product
- gradle-8All versions (No fix recorded)
5 vendors · 8 products