PT-2021-8014

CVE-2021-23463

·

Published

2021-12-10

·

Updated

2023-08-18

Description by

CVSS 2.0
8.5
High
MetricsAV: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.
Exploitability
Exploit
Impacts
Researchers
Vendors
Affected products
Related identifiers
GHSA-7RPJ-HG47-CX62
SNYK-JAVA-COMH2DATABASE-1769238
Found an issue in the description? Have something to add? Feel free to write us 👾