CVE-2022-23221: Improper Control of Generation of Code ('Code Injection')
(updated )
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.
References
- packetstormsecurity.com/files/165676/H2-Database-Console-Remote-Code-Execution.html
- seclists.org/fulldisclosure/2022/Jan/39
- github.com/advisories/GHSA-45hx-wfhj-473x
- github.com/h2database/h2database/releases/tag/version-2.1.210
- github.com/h2database/h2database/security/advisories
- nvd.nist.gov/vuln/detail/CVE-2022-23221
- twitter.com/d0nkey_man/status/1483824727936450564
Code Behaviors & Features
Detect and mitigate CVE-2022-23221 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →