{"api_version":"1","generated_at":"2026-04-23T01:19:44+00:00","cve":"CVE-2022-45868","urls":{"html":"https://cve.report/CVE-2022-45868","api":"https://cve.report/api/cve/CVE-2022-45868.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-45868","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-45868"},"summary":{"title":"CVE-2022-45868","description":"** DISPUTED ** 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.\"","state":"PUBLIC","assigner":"cve@mitre.org","published_at":"2022-11-23 21:15:00","updated_at":"2024-04-03 03:15:00"},"problem_types":["CWE-312"],"metrics":[],"references":[{"url":"https://github.com/advisories/GHSA-22wj-vf5f-wrvj","name":"https://github.com/advisories/GHSA-22wj-vf5f-wrvj","refsource":"MISC","tags":[],"title":"Password exposure in H2 Database  · CVE-2022-45868 · GitHub Advisory Database · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/h2database/h2database/issues/3686","name":"https://github.com/h2database/h2database/issues/3686","refsource":"MISC","tags":[],"title":"CVE-2022-45868: Password exposure in H2 Database (not an issue) · Issue #3686 · h2database/h2database · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/h2database/h2database/pull/3833","name":"https://github.com/h2database/h2database/pull/3833","refsource":"","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/h2database/h2database/blob/96832bf5a97cdc0adc1f2066ed61c54990d66ab5/h2/src/main/org/h2/server/web/WebServer.java#L346-L347","name":"https://github.com/h2database/h2database/blob/96832bf5a97cdc0adc1f2066ed61c54990d66ab5/h2/src/main/org/h2/server/web/WebServer.java#L346-L347","refsource":"MISC","tags":[],"title":"h2database/WebServer.java at 96832bf5a97cdc0adc1f2066ed61c54990d66ab5 · h2database/h2database · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/h2database/h2database/releases/tag/version-2.2.220","name":"https://github.com/h2database/h2database/releases/tag/version-2.2.220","refsource":"","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://sites.google.com/sonatype.com/vulnerabilities/sonatype-2022-6243","name":"https://sites.google.com/sonatype.com/vulnerabilities/sonatype-2022-6243","refsource":"MISC","tags":[],"title":"H2 Plaintext password","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-45868","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-45868","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2022","cve_id":"45868","vulnerable":"1","versionEndIncluding":"2.1.214","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"h2database","cpe5":"h2","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2022-45868","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"** DISPUTED ** 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.\""}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"url":"https://sites.google.com/sonatype.com/vulnerabilities/sonatype-2022-6243","refsource":"MISC","name":"https://sites.google.com/sonatype.com/vulnerabilities/sonatype-2022-6243"},{"url":"https://github.com/h2database/h2database/blob/96832bf5a97cdc0adc1f2066ed61c54990d66ab5/h2/src/main/org/h2/server/web/WebServer.java#L346-L347","refsource":"MISC","name":"https://github.com/h2database/h2database/blob/96832bf5a97cdc0adc1f2066ed61c54990d66ab5/h2/src/main/org/h2/server/web/WebServer.java#L346-L347"},{"refsource":"MISC","name":"https://github.com/h2database/h2database/issues/3686","url":"https://github.com/h2database/h2database/issues/3686"},{"refsource":"MISC","name":"https://github.com/advisories/GHSA-22wj-vf5f-wrvj","url":"https://github.com/advisories/GHSA-22wj-vf5f-wrvj"}]},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AC:L/AV:L/A:H/C:H/I:H/PR:N/S:U/UI:N","version":"3.1"}}},"nvd":{"publishedDate":"2022-11-23 21:15:00","lastModifiedDate":"2024-04-03 03:15:00","problem_types":["CWE-312"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":7.8,"baseSeverity":"HIGH"},"exploitabilityScore":1.8,"impactScore":5.9}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:h2database:h2:*:*:*:*:*:*:*:*","versionEndIncluding":"2.1.214","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}