CVE-2021-40690 Bypass of the secureValidation property
HighCVSS 7.5
EPSS 7.4%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
- Technology
- UbuntuDebian
Description
All versions of Apache Santuario - XML Security for Java prior to 2.2.3 and 2.1.7 are vulnerable to an issue where the "secureValidation" property is not passed correctly when creating a KeyInfo from a KeyInfoReference element. This allows an attacker to abuse an XPath Transform to extract any local .xml files in a RetrievalMethod element.
Upgrade path
26 packages: 11 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| Apache Santuario | >= XML Security for Java, < 2.2.3,2.1.7 | 2.2.3,2.1.7 | Fixed |
| apache santuario xml security for java | < 2.1.7; >= 2.2.0, < 2.2.3 | 2.1.7, 2.2.3 | Fixed |
| apache tomee | < 8.0.8 | 8.0.8 | 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 |
| oracle communications diameter intelligence hub | >= 8.0.0, <= 8.1.0; >= 8.2.0, <= 8.2.3 | after 8.1.0, 8.2.3 | Fixed |
| org.apache.santuario/xmlsec(Maven) | < 2.1.7; = 1.4.0; = 1.4.1; = 1.4.2 +39 more | 2.1.7, 2.2.3 | Fixed |
| ubuntu/libxml-security-java(Ubuntu 18.04) | < 2.0.10-2~18.04.1; = 1.5.8-2; = 2.0.10-2~18.04 | 2.0.10-2~18.04.1 | Fixed |
| ubuntu/libxml-security-java(Ubuntu 20.04) | < 2.0.10-2+deb11u1build0.20.04.1; = 2.0.10-2 | 2.0.10-2+deb11u1build0.20.04.1 | Fixed |
| ubuntu/libxml-security-java(Ubuntu Pro 16.04) | < 1.5.6-1ubuntu0.1~esm1; = 1.5.6-1 | 1.5.6-1ubuntu0.1~esm1 | Fixed |
| apache cxf | = 3.4.4 | No fix listed | Versions listed |
| debian linux | = 9.0; = 10.0; = 11.0 | No fix listed | Versions listed |
| oracle agile product lifecycle management | = 9.3.6 | No fix listed | Versions listed |
| oracle commerce guided search | = 11.3.2 | No fix listed | Versions listed |
| oracle commerce platform | = 11.3.2 | No fix listed | Versions listed |
| oracle communications messaging server | = 8.1 | No fix listed | Versions listed |
| oracle flexcube private banking | = 12.1.0 | No fix listed | Versions listed |
| oracle outside in technology | = 8.5.5 | No fix listed | Versions listed |
| oracle PeopleSoft Enterprise PeopleTools | = 8.58; = 8.59 | No fix listed | Versions listed |
| oracle retail bulk data integration | = 16.0.3 | No fix listed | Versions listed |
| oracle retail financial integration | = 14.1.3.2; = 15.0.3.1; = 16.0.3; = 19.0.1 | No fix listed | Versions listed |
| oracle retail integration bus | = 14.1.3.2; = 15.0.3.1; = 16.0.3; = 19.0.1 | No fix listed | Versions listed |
| oracle retail merchandising system | = 16.0.3; = 19.0.1 | No fix listed | Versions listed |
| oracle retail service backbone | = 14.1.3.2; = 15.0.3.1; = 16.0.3; = 19.0.1 | No fix listed | Versions listed |
| oracle weblogic server | = 12.2.1.4.0; = 14.1.1.0.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| org.apache.santuario/xmlsec(Maven) | >= 2.2.0, < 2.2.3 | 2.2.3 |
| org.apache.santuario/xmlsec(Maven) | < 2.1.7 | 2.1.7 |
| org.apache.santuario/xmlsec(Maven) | = 2.2.0 | No fix listed |
| org.apache.santuario/xmlsec(Maven) | = 2.2.1 | No fix listed |
| org.apache.santuario/xmlsec(Maven) | = 2.2.2 | No fix listed |
| org.apache.santuario/xmlsec(Maven) | = 1.4.0 | No fix listed |
| org.apache.santuario/xmlsec(Maven) | = 1.4.1 | No fix listed |
| org.apache.santuario/xmlsec(Maven) | = 1.4.2 | No fix listed |
| org.apache.santuario/xmlsec(Maven) | = 1.4.3 | No fix listed |
| org.apache.santuario/xmlsec(Maven) | = 1.4.4 | No fix listed |
| org.apache.santuario/xmlsec(Maven) | = 1.4.5 | No fix listed |
| org.apache.santuario/xmlsec(Maven) | = 1.4.6 | No fix listed |
| org.apache.santuario/xmlsec(Maven) | = 1.4.7 | No fix listed |
| org.apache.santuario/xmlsec(Maven) | = 1.4.8 | No fix listed |
| org.apache.santuario/xmlsec(Maven) | = 1.5.0 | No fix listed |
| org.apache.santuario/xmlsec(Maven) | = 1.5.1 | No fix listed |
| org.apache.santuario/xmlsec(Maven) | = 1.5.2 | No fix listed |
| org.apache.santuario/xmlsec(Maven) | = 1.5.3 | No fix listed |
| org.apache.santuario/xmlsec(Maven) | = 1.5.4 | No fix listed |
| org.apache.santuario/xmlsec(Maven) | = 1.5.5 | No fix listed |
| org.apache.santuario/xmlsec(Maven) | = 1.5.6 | No fix listed |
| org.apache.santuario/xmlsec(Maven) | = 1.5.7 | No fix listed |
| org.apache.santuario/xmlsec(Maven) | = 1.5.8 | No fix listed |
| org.apache.santuario/xmlsec(Maven) | = 2.0.0 | No fix listed |
| org.apache.santuario/xmlsec(Maven) | = 2.0.0-beta | No fix listed |
Show 63 more
| Product | Affected versions | Fixed in |
|---|---|---|
| org.apache.santuario/xmlsec(Maven) | = 2.0.0-rc1 | No fix listed |
| org.apache.santuario/xmlsec(Maven) | = 2.0.1 | No fix listed |
| org.apache.santuario/xmlsec(Maven) | = 2.0.10 | No fix listed |
| org.apache.santuario/xmlsec(Maven) | = 2.0.2 | 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 |
| org.apache.santuario/xmlsec(Maven) | = 2.1.4 | No fix listed |
| org.apache.santuario/xmlsec(Maven) | = 2.1.5 | No fix listed |
| org.apache.santuario/xmlsec(Maven) | = 2.1.6 | 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.2.3,2.1.7 | 2.2.3,2.1.7 |
| apache santuario xml security for java | < 2.1.7 | 2.1.7 |
| apache santuario xml security for java | >= 2.2.0, < 2.2.3 | 2.2.3 |
| apache cxf | = 3.4.4 | No fix listed |
| apache tomee | < 8.0.8 | 8.0.8 |
| debian linux | = 9.0 | No fix listed |
| debian linux | = 10.0 | No fix listed |
| debian linux | = 11.0 | No fix listed |
| oracle agile product lifecycle management | = 9.3.6 | No fix listed |
| oracle commerce guided search | = 11.3.2 | No fix listed |
| oracle commerce platform | = 11.3.2 | No fix listed |
| oracle communications diameter intelligence hub | >= 8.0.0, <= 8.1.0 | No fix listed |
| oracle communications diameter intelligence hub | >= 8.2.0, <= 8.2.3 | No fix listed |
| oracle communications messaging server | = 8.1 | No fix listed |
| oracle flexcube private banking | = 12.1.0 | No fix listed |
| oracle outside in technology | = 8.5.5 | No fix listed |
| oracle PeopleSoft Enterprise PeopleTools | = 8.58 | No fix listed |
| oracle PeopleSoft Enterprise PeopleTools | = 8.59 | No fix listed |
| oracle retail bulk data integration | = 16.0.3 | No fix listed |
| oracle retail financial integration | = 14.1.3.2 | No fix listed |
| oracle retail financial integration | = 15.0.3.1 | No fix listed |
| oracle retail financial integration | = 16.0.3 | No fix listed |
| oracle retail financial integration | = 19.0.1 | No fix listed |
| oracle retail integration bus | = 14.1.3.2 | No fix listed |
| oracle retail integration bus | = 15.0.3.1 | No fix listed |
| oracle retail integration bus | = 16.0.3 | No fix listed |
| oracle retail integration bus | = 19.0.1 | No fix listed |
| oracle retail merchandising system | = 16.0.3 | No fix listed |
| oracle retail merchandising system | = 19.0.1 | No fix listed |
| oracle retail service backbone | = 14.1.3.2 | No fix listed |
| oracle retail service backbone | = 15.0.3.1 | No fix listed |
| oracle retail service backbone | = 16.0.3 | No fix listed |
| oracle retail service backbone | = 19.0.1 | 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 |
| ubuntu/libxml-security-java(Ubuntu:Pro:16.04) | < 1.5.6-1ubuntu0.1~esm1 | 1.5.6-1ubuntu0.1~esm1 |
| ubuntu/libxml-security-java(Ubuntu:Pro:16.04) | = 1.5.6-1 | No fix listed |
| ubuntu/libxml-security-java(Ubuntu:18.04) | < 2.0.10-2~18.04.1 | 2.0.10-2~18.04.1 |
| 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:20.04) | < 2.0.10-2+deb11u1build0.20.04.1 | 2.0.10-2+deb11u1build0.20.04.1 |
| ubuntu/libxml-security-java(Ubuntu:20.04) | = 2.0.10-2 | No fix listed |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- lists.apache.org issue-tracking mailing-list patch third-party-advisory
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- [debian-lts-announce] 20210927 [SECURITY] [DLA 2767-1] libxml-security-java security update mailing-list third-party-advisory
- lists.apache.org
- lists.apache.org
- DSA-5010 third-party-advisory vendor-advisory
- www.oracle.com patch third-party-advisory
- www.oracle.com patch third-party-advisory
- security.netapp.com
- github.com
- Debian Security Tracker CVE-2021-40690 vendor-advisory
- [tomee-commits] 20210922 [tomee] 02/02: Update xmlsec to 2.2.3 to mitigate CVE-2021-40690 mailing-list
- [tomee-commits] 20210923 [jira] [Resolved] (TOMEE-3798) TomEE (8.0.8) is affected by CVE-2021-40690 vulnerability mailing-list
- [tomee-commits] 20210923 [jira] [Created] (TOMEE-3798) TomEE (8.0.8) is affected by CVE-2021-40690 vulnerability mailing-list
- [tomee-commits] 20210923 [jira] [Assigned] (TOMEE-3798) TomEE (8.0.8) is affected by CVE-2021-40690 vulnerability mailing-list
- [tomee-commits] 20210923 [jira] [Updated] (TOMEE-3798) TomEE (8.0.8) is affected by CVE-2021-40690 vulnerability mailing-list
- [poi-user] 20210923 Re: CVE-2021-40690 on xmlsec jar mailing-list
- [cxf-issues] 20211027 [jira] [Created] (CXF-8613) High Security issues reported with Apache Santuario library bundled in CXF 3.4.4 mailing-list
- [tomee-commits] 20211028 [jira] [Updated] (TOMEE-3798) TomEE (8.0.8) is affected by CVE-2021-40690 vulnerability mailing-list
- bugs.debian.org issue-tracking
- ubuntu.com issue-tracking
- santuario.apache.org issue-tracking
- ubuntu.com vendor-advisory
- www.cve.org issue-tracking
- ubuntu.com vendor-advisory
- ENISA EUVD EUVD-2021-2083 third-party-advisory