CVE-2021-23463

Improper Restriction of XML External Entity Reference in maven/com.h2database/h2

Identifiers

GHSA-7rpj-hg47-cx62, CVE-2021-23463

Package Slug

maven/com.h2database/h2

Vulnerability

Improper Restriction of XML External Entity Reference

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 Versions

All versions before 2.0.202

Solution

Upgrade to version 2.0.202 or above.

Last Modified

2022-01-11

source