Skip to content
OpenAdvisories
High · 8.1 CVE-2021-23463 EUVD-2021-2477GHSA-7rpj-hg47-cx62SNYK-JAVA-COMH2DATABASE-1769238

XML External Entity (XXE) Injection

Published Dec 10, 2021 · Updated Sep 17, 2024 · Assigned by snyk

Description

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

VendorProductAffectedFixed
— com.h2database:h2 < unspecified, unspecified – < 2.0.202 unspecified

Affected packages

EcosystemPackageAffectedFixedRecord
Maven com.h2database:h2 >= 1.4.198, < 2.0.202 2.0.202 GHSA-7rpj-hg47-cx62

References