CVE-2021-23463: XML External Entity (XXE) Injection

Published 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.

Affected Software

2 affected componentsFixes available
maven/com.h2database:h2>=1.4.198<2.0.202
2.0.202
h2database H2>=1.4.198<2.0.202

Event History

Dec 10, 2021
CVE Published
via MITRE·08:00 PM
Data Sourced
via MITRE·08:00 PM
DescriptionSeverityWeakness
Dec 16, 2021
Advisory Published
02:29 PM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2021-23463?

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.

2

How severe is the vulnerability CVE-2021-23463?

The severity rating for CVE-2021-23463 is critical with a score of 9.1.

3

How does CVE-2021-23463 affect the H2database H2 package?

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.

4

How can I fix the vulnerability CVE-2021-23463?

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.

5

Are there any references for CVE-2021-23463?

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).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203