{"cve":"CVE-2022-45868","nvd":{"published":"2022-11-23T21:15:11.360","modified":"2026-06-17T05:10:53.730","status":"Modified","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_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8},"cwes":["CWE-312"],"references":["https://github.com/advisories/GHSA-22wj-vf5f-wrvj","https://github.com/h2database/h2database/blob/96832bf5a97cdc0adc1f2066ed61c54990d66ab5/h2/src/main/org/h2/server/web/WebServer.java#L346-L347","https://github.com/h2database/h2database/issues/3686","https://github.com/h2database/h2database/pull/3833","https://github.com/h2database/h2database/releases/tag/version-2.2.220"],"products":["h2database:h2"],"source":"nvd","synced_at":"2026-10-19T21:37:28.463369388+00:00"},"epss":{"cve":"CVE-2022-45868","score":0.00321,"percentile":0.25144,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-22wj-vf5f-wrvj","url":"https://osv.dev/vulnerability/GHSA-22wj-vf5f-wrvj","summary":"Password exposure in H2 Database ","modified":"2026-09-10T03:49:46.817709183Z","packages":[{"ecosystem":"Maven","name":"com.h2database:h2","purl":"pkg:maven/com.h2database/h2","ranges":[">=1.4.198 <2.2.220"],"fixed":["2.2.220"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}