The package com.h2database:h2 from 1.4.198 to 1.4.200 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.
CRITICAL Vulnerable Package issue exists @ com.h2database:h2 in branch master
Description
The package com.h2database:h2 from 1.4.198 to 1.4.200 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.
CRITICAL Vulnerable Package issue exists @ com.h2database:h2 in branch master
Vulnerability ID: CVE-2021-23463
Package Name: com.h2database:h2
Severity: CRITICAL
CVSS Score: 9.1
Publish Date: 2021-12-10T20:15:00
Current Package Version: 1.4.200
Remediation Upgrade Recommendation: 2.2.220
Link To SCA
Reference – NVD link