XXE in H2database H2

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.

Vulnerability class: XXE (XML External Entity)

EPSS: 0.027 (84.9th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 8.1 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2021-23463?
CVE-2021-23463 is a high-severity vulnerability in H2database H2, classified under Improper Restriction of XML External Entity Reference (XXE). CVSS score: 8.1/10. Published 2021-12-10.
How severe is CVE-2021-23463?
High severity. CVSS v3 base score is 8.1 out of 10.
Is CVE-2021-23463 known to be exploited?
5 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.