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, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
h2database (PTS)stretch1.4.193-1fixed
stretch (security)1.4.193-1+deb9u1fixed
buster, buster (security)1.4.197-4+deb10u1fixed
bullseye (security), bullseye1.4.197-4+deb11u1fixed
bookworm, sid2.1.212-1fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
h2databasesource(unstable)(not affected)


- h2database <not-affected> (vulnerable method is not supported; vulnerable code introduced in 1.4.198)
Introduced in: (version-1.4.198)
Fixed by: (version-2.0.202)

Search for package or bug name: Reporting problems