CVE-2021-23463
CVE-2021-23463 is a high-severity vulnerability in H2database H2 with a CVSS 3.x base score of 8.1. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-611.
Key facts
- Severity: High (CVSS 3.x base score 8.1)
- CVSS v2: 6.4
- EPSS exploit prediction: 3% (87th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-611
- Affected product: H2database H2
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2021-23463?
- 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.
- How severe is CVE-2021-23463?
- CVE-2021-23463 has a CVSS 3.x base score of 8.1, rated high severity. It is exploitable over network with low attack complexity, requires low privileges and no user interaction. Impact on confidentiality is high, integrity none, and availability high.
- Is CVE-2021-23463 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 3% (87th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2021-23463?
- CVE-2021-23463 affects H2database H2. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2021-23463?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- When was CVE-2021-23463 published?
- CVE-2021-23463 was published on 2021-12-10 and last updated on 2026-06-17.
References
- https://github.com/h2database/h2database/commit/d83285fd2e48fb075780ee95badee6f5a15ea7f8%23diff-008c2e4462609982199cd83e7cf6f1d6b41296b516783f6752c44b9f15dc7bc3
- https://github.com/h2database/h2database/issues/3195
- https://github.com/h2database/h2database/pull/3199
- https://security.netapp.com/advisory/ntap-20230818-0010/
- https://snyk.io/vuln/SNYK-JAVA-COMH2DATABASE-1769238
- https://www.oracle.com/security-alerts/cpuapr2022.html
Affected products (1)
- cpe:2.3:a:h2database:h2:*:*:*:*:*:*:*:*
More vulnerabilities in H2database H2
- CVE-2022-23221 — Critical (CVSS 9.8): H2 Console before 2.1.210 allows remote attackers to execute arbitrary code via a jdbc:h2:mem JDBC URL containing the…
- CVE-2021-42392 — Critical (CVSS 9.8): The org.h2.util.JdbcUtils.getConnection method of the H2 database takes as parameters the class name of the driver and…
- CVE-2018-10054 — High (CVSS 8.8): H2 1.4.197, as used in Datomic before 0.9.5697 and other products, allows remote code execution because CREATE ALIAS…
- CVE-2022-45868 — High (CVSS 8.4): The web-based admin console in H2 Database Engine before 2.2.220 can be started via the CLI with the argument…
- CVE-2018-14335 — Medium (CVSS 6.5): An issue was discovered in H2 1.4.197. Insecure handling of permissions in the backup function allows attackers to read…
All CVEs affecting H2database H2 →
Other CWE-611 (Improper Restriction of XML External Entity Reference (XXE)) vulnerabilities
- CVE-2022-22486 — Critical (CVSS 10.0): IBM Tivoli Workload Scheduler 9.4, 9.5, and 10.1 is vulnerable to an XML External Entity Injection (XXE) attack when…
- CVE-2019-14678 — Critical (CVSS 10.0): SAS XML Mapper 9.45 has an XML External Entity (XXE) vulnerability that can be leveraged by malicious attackers in…
- CVE-2015-9280 — Critical (CVSS 10.0): MailEnable before 8.60 allows XXE via an XML document in the request.aspx Options parameter.
- CVE-2018-1000838 — Critical (CVSS 10.0): autopsy version <= 4.9.0 contains a XML External Entity (XXE) vulnerability in CaseMetadata XML Parser that can result…
- CVE-2018-1000837 — Critical (CVSS 10.0): UML Designer version <= 8.0.0 contains a XML External Entity (XXE) vulnerability in XML parser for plugins that can…
- CVE-2018-1000835 — Critical (CVSS 10.0): KeePassDX version <= 2.5.0.0beta17 contains a XML External Entity (XXE) vulnerability in kdbx file parser that can…
Browse all CWE-611 (Improper Restriction of XML External Entity Reference (XXE)) vulnerabilities →