CVE-2022-23221
H2database H2 vulnerability
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
H2, Debian Linux, Communications Cloud Native Core Console. The exact versions are in the references.
What to do now
- Check your exposureFind out whether H2database H2 runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/h2database/h2database/releases/tag/version-2.1.210 · Patch
- github.com/h2database/h2database/security/advisories · Mitigation
- www.oracle.com/security-alerts/cpuapr2022.html · Patch
- packetstormsecurity.com/files/165676/H2-Database-Console-Remote-Code-Execution.html · Exploit
- seclists.org/fulldisclosure/2022/Jan/39 · Exploit
- lists.debian.org/debian-lts-announce/2022/02/msg00017.html · Third Party Advisory
- twitter.com/d0nkey_man/status/1483824727936450564 · Exploit
- www.debian.org/security/2022/dsa-5076 · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2022-23221
- cve.org/CVERecord?id=CVE-2022-23221
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.