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.
Remediation
References
https://github.com/h2database/h2database/security/advisories
https://github.com/h2database/h2database/releases/tag/version-2.1.210
https://twitter.com/d0nkey_man/status/1483824727936450564
http://seclists.org/fulldisclosure/2022/Jan/39
http://packetstormsecurity.com/files/165676/H2-Database-Console-Remote-Code-Execution.html
https://lists.debian.org/debian-lts-announce/2022/02/msg00017.html
https://www.debian.org/security/2022/dsa-5076
https://www.oracle.com/security-alerts/cpuapr2022.html
https://www.oracle.com/security-alerts/cpujul2022.html
https://security.netapp.com/advisory/ntap-20230818-0011/
Related Vulnerabilities
CVE-2018-1000620 Vulnerability in maven package org.webjars.npm:cryptiles
CVE-2022-29577 Vulnerability in maven package org.owasp:antisamy
CVE-2021-4279 Vulnerability in npm package fast-json-patch
CVE-2023-45278 Vulnerability in maven package org.yamcs:yamcs-core
CVE-2022-39350 Vulnerability in npm package @dependencytrack/frontend