CVE-2021-23463
H2database H2 vulnerability
The package com.h2database:h2 from 1.4.198 and before 2.0.202 are vulnerable to XML External Entity (XXE) Injection via the org.h2.jdbc.JdbcSQLXML class object, when it receives parsed string data from org.h2.jdbc.JdbcResultSet.getSQLXML() method. If it executes the getSource() method when the parameter is DOMSource.class it will trigger the vulnerability.
Affected products
H2. 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.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/h2database/h2database/issues/3195 · Exploit
- github.com/h2database/h2database/pull/3199 · Patch
- snyk.io/vuln/SNYK-JAVA-COMH2DATABASE-1769238 · Exploit
- github.com/h2database/h2database/commit/d83285fd2e48fb075780ee95badee6f5a15ea7f8%23diff-00
- security.netapp.com/advisory/ntap-20230818-0010/
- www.oracle.com/security-alerts/cpuapr2022.html
- nvd.nist.gov/vuln/detail/CVE-2021-23463
- cve.org/CVERecord?id=CVE-2021-23463
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.