CVE-2019-12400 Improper input validation in Apache Santuario XML Security for Java
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- UbuntuDebianRed Hat
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.
Upgrade path
11 packages: 5 fixed, 3 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/libxml-security-java(Ubuntu 18.04) | = 1.5.8-2; = 2.0.10-2~18.04; = 2.0.10-2~18.04.1; All versions | No fix listed | No fix yet |
| ubuntu/libxml-security-java(Ubuntu 20.04) | = 2.0.10-2; = 2.0.10-2+deb11u1build0.20.04.1; All versions | No fix listed | No fix yet |
| ubuntu/libxml-security-java(Ubuntu Pro 16.04) | = 1.5.6-1; = 1.5.6-1ubuntu0.1~esm1; All versions | No fix listed | No fix yet |
| apache santuario xml security for java | >= 2.0.3, <= 2.0.10; >= 2.1.0, < 2.1.4 | 2.1.4 | Fixed |
| debian/libxml-security-java(Debian 12) | < 2.1.7-1 | 2.1.7-1 | Fixed |
| debian/libxml-security-java(Debian 13) | < 2.1.7-1 | 2.1.7-1 | Fixed |
| debian/libxml-security-java(Debian 14) | < 2.1.7-1 | 2.1.7-1 | Fixed |
| org.apache.santuario/xmlsec(Maven) | = 2.0.3; = 2.0.4; = 2.0.5; = 2.0.6 +9 more | 2.1.4 | Fixed |
| Apache Santuario - XML Security for Java | = All 2.0.x releases from 2.0.3; = all 2.1.x releases before 2.1.4. | No fix listed | Versions listed |
| oracle weblogic server | = 12.2.1.4.0; = 14.1.1.0.0 | No fix listed | Versions listed |
| redhat jboss enterprise application platform | = 7.2 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| org.apache.santuario/xmlsec(Maven) | >= 2.0.3, < 2.1.4 | 2.1.4 |
| org.apache.santuario/xmlsec(Maven) | = 2.0.10 | No fix listed |
| org.apache.santuario/xmlsec(Maven) | = 2.0.3 | No fix listed |
| org.apache.santuario/xmlsec(Maven) | = 2.0.4 | No fix listed |
| org.apache.santuario/xmlsec(Maven) | = 2.0.5 | No fix listed |
| org.apache.santuario/xmlsec(Maven) | = 2.0.6 | No fix listed |
| org.apache.santuario/xmlsec(Maven) | = 2.0.7 | No fix listed |
| org.apache.santuario/xmlsec(Maven) | = 2.0.8 | No fix listed |
| org.apache.santuario/xmlsec(Maven) | = 2.0.9 | No fix listed |
| org.apache.santuario/xmlsec(Maven) | = 2.1.0 | No fix listed |
| org.apache.santuario/xmlsec(Maven) | = 2.1.1 | No fix listed |
| org.apache.santuario/xmlsec(Maven) | = 2.1.2 | No fix listed |
| org.apache.santuario/xmlsec(Maven) | = 2.1.3 | No fix listed |
| debian/libxml-security-java(Debian:12) | < 2.1.7-1 | 2.1.7-1 |
| debian/libxml-security-java(Debian:13) | < 2.1.7-1 | 2.1.7-1 |
| debian/libxml-security-java(Debian:14) | < 2.1.7-1 | 2.1.7-1 |
| apache santuario xml security for java | >= 2.0.3, <= 2.0.10 | No fix listed |
| apache santuario xml security for java | >= 2.1.0, < 2.1.4 | 2.1.4 |
| redhat jboss enterprise application platform | = 7.2 | No fix listed |
| oracle weblogic server | = 12.2.1.4.0 | No fix listed |
| oracle weblogic server | = 14.1.1.0.0 | No fix listed |
| Apache Santuario - XML Security for Java | = All 2.0.x releases from 2.0.3 | No fix listed |
| Apache Santuario - XML Security for Java | = all 2.1.x releases before 2.1.4. | No fix listed |
| ubuntu/libxml-security-java(Ubuntu:Pro:16.04) | All versions | No fix listed |
| ubuntu/libxml-security-java(Ubuntu:Pro:16.04) | = 1.5.6-1 | No fix listed |
Show 8 more
| Product | Affected versions | Fixed in |
|---|---|---|
| ubuntu/libxml-security-java(Ubuntu:Pro:16.04) | = 1.5.6-1ubuntu0.1~esm1 | No fix listed |
| ubuntu/libxml-security-java(Ubuntu:18.04) | All versions | No fix listed |
| ubuntu/libxml-security-java(Ubuntu:18.04) | = 1.5.8-2 | No fix listed |
| ubuntu/libxml-security-java(Ubuntu:18.04) | = 2.0.10-2~18.04 | No fix listed |
| ubuntu/libxml-security-java(Ubuntu:18.04) | = 2.0.10-2~18.04.1 | No fix listed |
| ubuntu/libxml-security-java(Ubuntu:20.04) | All versions | No fix listed |
| ubuntu/libxml-security-java(Ubuntu:20.04) | = 2.0.10-2 | No fix listed |
| ubuntu/libxml-security-java(Ubuntu:20.04) | = 2.0.10-2+deb11u1build0.20.04.1 | No fix listed |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- santuario.apache.org issue-tracking vendor-advisory
- RHSA-2020:0804 third-party-advisory vendor-advisory
- RHSA-2020:0805 third-party-advisory vendor-advisory
- RHSA-2020:0806 third-party-advisory vendor-advisory
- RHSA-2020:0811 third-party-advisory vendor-advisory
- lists.apache.org
- lists.apache.org
- security.netapp.com third-party-advisory
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- www.oracle.com patch third-party-advisory
- github.com
- Debian Security Tracker CVE-2019-12400 vendor-advisory
- [santuario-dev] 20190905 Re: [CVE-2019-12400] Apache Santuario potentially loads XML parsing code from an untrusted source mailing-list
- [santuario-dev] 20190906 Re: [CVE-2019-12400] Apache Santuario potentially loads XML parsing code from an untrusted source mailing-list
- [tomee-commits] 20200720 [jira] [Assigned] (TOMEE-2885) Update Apache XML Security for Java to mitigate CVE-2019-12400 mailing-list
- [santuario-commits] 20210917 svn commit: r1076843 - in /websites/production/santuario/content: cache/main.pageCache index.html javaindex.html secadv.data/CVE-2021-40690.txt.asc secadv.html mailing-list
- [tomee-commits] 20200324 [jira] [Created] (TOMEE-2791) TomEE plus(7.0.7) is affected by CVE-2019-12400 vulnerability mailing-list
- [tomee-commits] 20200720 [jira] [Created] (TOMEE-2885) Update Apache XML Security for Java to mitigate CVE-2019-12400 mailing-list
- [tomee-commits] 20200720 [jira] [Commented] (TOMEE-2885) Update Apache XML Security for Java to mitigate CVE-2019-12400 mailing-list
- bugs.debian.org issue-tracking
- ubuntu.com issue-tracking
- santuario.apache.org issue-tracking
- www.cve.org issue-tracking