{"id":"CVE-2022-23221","details":"H2 Console before 2.1.210 allows remote attackers to execute arbitrary code via a jdbc:h2:mem JDBC URL containing the IGNORE_UNKNOWN_SETTINGS=TRUE;FORBID_CREATION=FALSE;INIT=RUNSCRIPT substring, a different vulnerability than CVE-2021-42392.","aliases":["GHSA-45hx-wfhj-473x"],"modified":"2026-11-23T22:00:08.383201727Z","published":"2022-01-19T00:00:00Z","database_specific":{"cna_assigner":"mitre","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/23xxx/CVE-2022-23221.json"},"references":[{"type":"WEB","url":"http://packetstormsecurity.com/files/165676/H2-Database-Console-Remote-Code-Execution.html"},{"type":"WEB","url":"https://github.com/h2database/h2database/releases/tag/version-2.1.210"},{"type":"WEB","url":"https://twitter.com/d0nkey_man/status/1483824727936450564"},{"type":"WEB","url":"https://www.oracle.com/security-alerts/cpuapr2022.html"},{"type":"WEB","url":"https://www.oracle.com/security-alerts/cpujul2022.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/23xxx/CVE-2022-23221.json"},{"type":"ADVISORY","url":"https://github.com/h2database/h2database/security/advisories"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-23221"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20230818-0011/"},{"type":"ADVISORY","url":"https://www.debian.org/security/2022/dsa-5076"},{"type":"ARTICLE","url":"http://seclists.org/fulldisclosure/2022/Jan/39"},{"type":"ARTICLE","url":"https://lists.debian.org/debian-lts-announce/2022/02/msg00017.html"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/h2database/h2database","events":[{"introduced":"0"},{"fixed":"3d957a0aeb509c5976a3489e7867ecbb121280f4"},{"fixed":"ca926f8b646aa3dd3da5f7a81bbee055b19a8d6a"}],"database_specific":{"extracted_events":[{"source":"CPE_RANGE","cpe":"cpe:2.3:a:h2database:h2:*:*:*:*:*:*:*:*","range":[{"introduced":"1.1.100"},{"fixed":"2.0.206"}]},{"original_tag":"version-2.1.210","range":[{"fixed":"ca926f8b646aa3dd3da5f7a81bbee055b19a8d6a"}],"source":"REFERENCES_TAG"}]}}],"versions":["version-2.0.204","version-2.0.202","version-1.4.200","version-1.4.199","version-1.4.198","version-1.4.197","version-1.4.195","version-1.4.194","version-1.4.193","version-1.4.192","version-1.4.190","version-1.4.188"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-23221.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}