{"id":"CVE-2022-45868","published":"2022-11-23T00:00:00Z","modified":"2024-11-19T20:58:46Z","title":"The web-based admin console in H2 Database Engine before 2.2.220 can be started via the CLI with the argument…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.4,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AC:L/AV:L/A:H/C:H/I:H/PR:N/S:U/UI:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00331,"percentile":0.26986,"provenance":"source"},"cwes":[],"references":[{"url":"https://sites.google.com/sonatype.com/vulnerabilities/sonatype-2022-6243","tags":[]},{"url":"https://github.com/h2database/h2database/blob/96832bf5a97cdc0adc1f2066ed61c54990d66ab5/h2/src/main/org/h2/server/web/WebServer.java#L346-L347","tags":[]},{"url":"https://github.com/h2database/h2database/issues/3686","tags":[]},{"url":"https://github.com/advisories/GHSA-22wj-vf5f-wrvj","tags":[]},{"url":"https://github.com/h2database/h2database/pull/3833","tags":[]},{"url":"https://github.com/h2database/h2database/releases/tag/version-2.2.220","tags":[]}],"priority":{"score":11.3,"factors":[{"name":"EPSS percentile","points":5.4},{"name":"CVSS severity","points":5.88}]},"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2024-11-19T20:58:21.487658Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"com.h2database:h2","vulnerableRanges":[">=1.4.198, <2.2.220"],"patched":["2.2.220"],"from":["GHSA-22wj-vf5f-wrvj"],"provenance":"source"}],"summary":{"text":"The web-based admin console of the H2 Database Engine, before version 2.2.220, accepts a cleartext password via the -webAdminPassword command-line argument. A local user, or an attacker who already has local access, can read that password by listing running processes and their arguments, and no authentication or user interaction is required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:56:25Z"},"euvd":{"id":"EUVD-2022-7189","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2021-23463","published":"2021-12-10","fixed":"2.0.202","kev":false},{"cve":"CVE-2021-42392","published":"2022-01-07","fixed":"2.0.206","kev":false},{"cve":"CVE-2022-23221","published":"2022-01-19","fixed":"2.1.210","kev":false,"link":{"from":"CVE-2022-23221","to":"CVE-2022-45868","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:com.h2database:h2","fromFixed":"2.1.210","toFixed":"2.2.220","daysApart":308}]}},{"cve":"CVE-2022-45868","published":"2022-11-23","fixed":"2.2.220","kev":false}],"package":"Maven:com.h2database:h2"}}