CVE-2021-23463
mediumpriority · track · 37EPSS 0.028 · 86 %ileEURUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–critical · 6.4–9.1
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (11)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-7rpj-hg47-cx62Improper Restriction of XML External Entity Reference in com.h2database:h2.2021-12-16ghsa · osvUS
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.
also known as (5)
Other names and identifiers for this entity.
- CNNVD-202112-826cnnvd
- EUVD-2021-2477enisa_euvd
- BDU:2024-02259fstec_bdu
- GHSA-7rpj-hg47-cx62enisa_euvd
- SNYK-JAVA-COMH2DATABASE-1769238osv
sources
Which sources assert this record, and when.
references (18)
External citations — patches, advisories, analysis.
- https://github.com/h2database/h2database/commit/d83285fd2e48fb075780ee95badee6f5a15ea7f8%23diff-008c2e4462609982199cd83e7cf6f1d6b41296b516783f6752c44b9f15dc7bc3cnnvd
- https://github.com/h2database/h2database/issues/3195cnnvd
- https://github.com/h2database/h2database/pull/3199cnnvd
- https://security.netapp.com/advisory/ntap-20230818-0010/cnnvd
- https://snyk.io/vuln/SNYK-JAVA-COMH2DATABASE-1769238cnnvd
- https://www.oracle.com/security-alerts/cpuapr2022.htmlcnnvd
- https://github.com/h2database/h2database/commit/d83285fd2e48fb075780ee95badee6f5a15ea7f8%23diff-008c2e4462609982199cd83e7cf6f1d6b41296b516783f6752c44b9f15dc7bc3enisa_euvd
- https://github.com/h2database/h2database/issues/3195enisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan