Name | CVE-2021-23463 |
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. |
Source | CVE (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 Package | Release | Version | Status |
---|
h2database (PTS) | bullseye (security), bullseye | 1.4.197-4+deb11u1 | fixed |
| bookworm | 2.1.214-1 | fixed |
| sid, trixie | 2.2.220-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
h2database | source | (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)