PT-2021-8014 · H2Database · H2
Threedr3Am
·
Published
2021-12-10
·
Updated
2023-08-18
·
CVE-2021-23463
CVSS v2.0
8.5
High
| Vector | AV:N/AC:L/Au:S/C:C/I:N/A:C |
Name of the Vulnerable Software and Affected Versions
com.h2database:h2 versions 1.4.198 through 2.0.202
Description
The issue is related to XML External Entity (XXE) Injection via the org.h2.jdbc.JdbcSQLXML class object. This occurs when the object receives parsed string data from the org.h2.jdbc.JdbcResultSet.getSQLXML() method and executes the getSource() method with the parameter
DOMSource.class. The vulnerability allows a remote attacker to conduct XXE attacks due to incorrect restriction of XML external entity references.Recommendations
For versions 1.4.198 through 2.0.202, consider disabling the
org.h2.jdbc.JdbcSQLXML class object or restricting its use until a patch is available. As a temporary workaround, avoid using the getSource() method with the parameter DOMSource.class to minimize the risk of exploitation. At the moment, there is no information about a newer version that contains a fix for this vulnerability.Exploit
XXE
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
H2