
CVE catalog
CVE-2022-45868
h2database: CVE-2022-45868
- Severity
- High · CVSS 7.8
CVSS: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.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | h2database | sid | 2.5.252-2 | vulnerable |
| Debian | h2database | forky | 2.5.252-2 | vulnerable |
| Debian | h2database | trixie | 2.2.220-1 | vulnerable |
| Debian | h2database | bookworm | 2.1.214-1 | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | h2database | source | sid | (unfixed) | unimportant | Not reported | Not reported |
| Debian | h2database | source | forky | (unfixed) | unimportant | Not reported | Not reported |
| Debian | h2database | source | trixie | (unfixed) | unimportant | Not reported | Not reported |
| Debian | h2database | source | bookworm | (unfixed) | unimportant | Not reported | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [libh2-java]Affected
Source package: [h2database]
Details (2)
2.1.214-1· all · bookwormAffected
dsa · h2database · debian · bookworm
2.1.214-1· all · bookwormAffected
dsa · h2database · debian · bookworm
- [libh2-java-doc]Affected
Source package: [h2database]
Details (2)
2.1.214-1· all · bookwormAffected
dsa · h2database · debian · bookworm
2.1.214-1· all · bookwormAffected
dsa · h2database · debian · bookworm
Observed:
References
- [https://raw.githubusercontent.com/cisagov/CSAF/develop/csaf_files/OT/white/2025/icsa-25-261-04.json]
- [https://security-tracker.debian.org/tracker/CVE-2022-45868]
- [https://wid.cert-bund.de/.well-known/csaf/white/2024/wid-sec-w-2024-0107.json]
[CERT-Bund public advisories] · [CISA cybersecurity advisories] · [Debian Security Tracker] · [FIRST EPSS]