CVE-2021-23463

NameCVE-2021-23463
DescriptionThe 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
h2database (PTS)buster, buster (security)1.4.197-4+deb10u1fixed
bullseye (security), bullseye1.4.197-4+deb11u1fixed
bookworm2.1.214-1fixed
sid, trixie2.2.220-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
h2databasesource(unstable)(not affected)

Notes

- h2database <not-affected> (vulnerable method is not supported; vulnerable code introduced in 1.4.198)
https://github.com/h2database/h2database/issues/3195
https://github.com/h2database/h2database/pull/3199
Introduced in: https://github.com/h2database/h2database/commit/1cfd2ffad975b31de3f20711bab19a121bfad20c (version-1.4.198)
Fixed by: https://github.com/h2database/h2database/commit/d83285fd2e48fb075780ee95badee6f5a15ea7f8 (version-2.0.202)

Search for package or bug name: Reporting problems