CVE-2022-45868
highpriority · track · 31OT risk · elevatedEPSS 0.003 · 24 %ileDEEURUUSEPSS · scored 2026-10-27
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.
remediations
Vendor fix, mitigation, or workaround guidance, as published by each source.
A vendor fix is available.
- FixedAsset Suitecisa_csaf_ot
Upgrade to version 9.7
- MitigationAsset Suitecisa_csaf_ot
Apply general mitigation factors
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (15)
Products and version ranges known to be affected.
advisories (4)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2022-2219H2: Schwachstelle ermöglicht PrivilegieneskalationDeutsch2022-12-01csaf · cert_bundDE
Ein lokaler Angreifer kann eine Schwachstelle in H2 ausnutzen, um seine Privilegien zu erhöhen.
- WID-SEC-W-2024-0107Oracle Communications Applications: Mehrere SchwachstellenDeutsch2024-01-16csaf · cert_bundDE
Ein entfernter, anonymer Angreifer kann mehrere Schwachstellen in Oracle Communications Applications ausnutzen, um die Vertraulichkeit, Integrität und Verfügbarkeit zu gefährden.
- GHSA-22wj-vf5f-wrvjPassword exposure in H2 Database 2022-11-23ghsa · osvUS
The web-based admin console in H2 Database Engine through 2.1.214 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."
- ICSA-25-261-04Multiple Open-Source Software Vulnerabilities in Hitachi Energy Asset Suite Product2025-08-26icsa · cisa_csaf_otUS
Hitachi Energy is aware of multiple reported vulnerabilities that affect the Asset Suite product versions mentioned in this document below. If exploited these vulnerabilities can potentially impact on confidentiality, integrity and availability of the product. Please refer to the Recommended Immediate Actions for information about the mitigation/remediation.
also known as (4)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (22)
External citations — patches, advisories, analysis.
- https://cxsecurity.com/cveshow/CVE-2022-45868/cnnvd
- https://github.com/advisories/GHSA-22wj-vf5f-wrvjcnnvd
- https://github.com/h2database/h2database/Patchcnnvd
- https://github.com/h2database/h2database/blob/96832bf5a97cdc0adc1f2066ed61c54990d66ab5/h2/src/main/org/h2/server/web/WebServer.java#L346-L347cnnvd
- https://github.com/h2database/h2database/issues/3686cnnvd
- https://github.com/h2database/h2database/pull/3833cnnvd
- https://github.com/h2database/h2database/releases/tag/version-2.2.220cnnvd
- https://sites.google.com/sonatype.com/vulnerabilities/sonatype-2022-6243cnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan