{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-23221","id":"CVE-2022-23221","title":"Arbitrary code execution in H2 Console","description":"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.","descriptionLong":"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.","published":"2022-01-19T00:00:00.000Z","updated":"2026-11-17T09:00:05.736428665Z","reserved":"2022-01-14T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},"metrics":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"CISA-ADP"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"OSV"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"GitHub"},{"version":"2.0","score":10,"vector":"AV:N/AC:L/Au:N/C:C/I:C/A:C","rating":"critical","source":"NVD"}],"rating":"critical","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"version":"n/a","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"Maven","name":"com.h2database:h2","purl":"pkg:maven/com.h2database/h2","ranges":["<2.1.210"],"fixed":["2.1.210"],"advisory":"GHSA-45hx-wfhj-473x"}],"cwes":["CWE-88"],"aliases":["GHSA-45hx-wfhj-473x"],"references":[{"url":"https://github.com/h2database/h2database/security/advisories","tags":["x_transferred","Mitigation","Patch","Third Party Advisory","advisory","web"]},{"url":"http://seclists.org/fulldisclosure/2022/Jan/39","tags":["mailing-list","x_transferred","Exploit","Mailing List","Third Party Advisory","article","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/02/msg00017.html","tags":["mailing-list","x_transferred","Mailing List","Third Party Advisory","article","web"]},{"url":"https://www.debian.org/security/2022/dsa-5076","tags":["vendor-advisory","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://www.oracle.com/security-alerts/cpuapr2022.html","tags":["x_transferred","Patch","Third Party Advisory","web"]},{"url":"https://github.com/h2database/h2database/releases/tag/version-2.1.210","tags":["x_transferred","Patch","Release Notes","Third Party Advisory","web"]},{"url":"https://twitter.com/d0nkey_man/status/1483824727936450564","tags":["x_transferred","Exploit","Third Party Advisory","web"]},{"url":"http://packetstormsecurity.com/files/165676/H2-Database-Console-Remote-Code-Execution.html","tags":["x_transferred","Exploit","Third Party Advisory","VDB Entry","web"]},{"url":"https://www.oracle.com/security-alerts/cpujul2022.html","tags":["x_transferred","Not Applicable","web"]},{"url":"https://security.netapp.com/advisory/ntap-20230818-0011/","tags":["x_transferred","advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/23xxx/CVE-2022-23221.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-23221","tags":["advisory"]},{"url":"https://github.com/h2database/h2database","tags":["package"]},{"url":"https://security.netapp.com/advisory/ntap-20230818-0011","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total"},"epss":0.64766,"epssPercentile":0.9926,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-23221","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-23221","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-23221","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-45hx-wfhj-473x","ok":true,"note":"GHSA-45hx-wfhj-473x"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-23221","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":["EPSS 65% with CVSS 9.8"],"attention":null}