First published: Fri Dec 10 2021(Updated: )
H2 is an embeddable RDBMS written in Java. 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.
Credit: report@snyk.io report@snyk.io report@snyk.io
Affected Software | Affected Version | How to fix |
---|---|---|
H2database H2 | >=1.4.198<2.0.202 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2021-23463 refers to a vulnerability in the H2database H2 package versions 1.4.198 and before 2.0.202 that allows for XML External Entity (XXE) Injection.
The severity rating for CVE-2021-23463 is critical with a score of 9.1.
CVE-2021-23463 affects the H2database H2 package versions 1.4.198 and before 2.0.202 by allowing for XML External Entity (XXE) Injection through the org.h2.jdbc.JdbcSQLXML class object.
To fix the vulnerability CVE-2021-23463, you should update the H2database H2 package to a version equal to or higher than 2.0.202.
Yes, you can find references for CVE-2021-23463 at the following links: [GitHub Commit](https://github.com/h2database/h2database/commit/d83285fd2e48fb075780ee95badee6f5a15ea7f8%23diff-008c2e4462609982199cd83e7cf6f1d6b41296b516783f6752c44b9f15dc7bc3), [GitHub Issue](https://github.com/h2database/h2database/issues/3195), [GitHub Pull Request](https://github.com/h2database/h2database/pull/3199).