Name | CVE-2019-12400 |
Description | In version 2.0.3 Apache Santuario XML Security for Java, a caching mechanism was introduced to speed up creating new XML documents using a static pool of DocumentBuilders. However, if some untrusted code can register a malicious implementation with the thread context class loader first, then this implementation might be cached and re-used by Apache Santuario - XML Security for Java, leading to potential security flaws when validating signed documents, etc. The vulnerability affects Apache Santuario - XML Security for Java 2.0.x releases from 2.0.3 and all 2.1.x releases before 2.1.4. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Debian Bugs | 935548 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
libxml-security-java (PTS) | jessie | 1.5.6-1 | fixed |
stretch (security), stretch (lts), stretch | 1.5.8-2+deb9u1 | fixed | |
buster (security), buster, buster (lts) | 2.0.10-2+deb10u1 | vulnerable | |
bullseye (security), bullseye | 2.0.10-2+deb11u1 | vulnerable | |
bookworm | 2.1.7-3 | fixed | |
sid, trixie | 2.1.8-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
libxml-security-java | source | wheezy | (unfixed) | end-of-life | ||
libxml-security-java | source | jessie | (not affected) | |||
libxml-security-java | source | stretch | (not affected) | |||
libxml-security-java | source | (unstable) | 2.1.7-1 | 935548 |
[bullseye] - libxml-security-java <no-dsa> (Minor issue)
[buster] - libxml-security-java <no-dsa> (Minor issue)
[stretch] - libxml-security-java <not-affected> (Vulnerable code introduced in 2.0.3)
[jessie] - libxml-security-java <not-affected> (Vulnerable code introduced in 2.0.3)
http://santuario.apache.org/secadv.data/CVE-2019-12400.asc
https://github.com/apache/santuario-xml-security-java/commit/8c88bbe449d073d5bc0626c1719e81e81c2ad9b4 (likely fix)