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
CVE-2022-45868 is a high-severity flaw (CVSS 8.4) affecting h2. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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 C
Why this priority
- High severity
- Public exploit reference
A fixed release or distro patch exists.
Risk facts
| CVSS score | 8.4 (High) |
| Attack vector | Local |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 0.3% (top 75%) |
| CISA exploited list | No |
| Weakness | CWE-312 |
| Published | 2022-11-23 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2022-45868?
h2: upgrade to newer than 2.1.214. Exact commands for each OS are on this page.
Is CVE-2022-45868 being exploited?
CVE-2022-45868 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2022-45868 affect?
CVE-2022-45868 affects h2. Severity is high (CVSS 8.4). 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 use
How urgent is CVE-2022-45868?
Priority 41/100. High severity; Public exploit reference
Related CVEs
- CVE-2023-26964 HIGH 7.5 DOWNGRADE DOWNGRADE An issue was discovered in hyper v0.13.7