Vulnerability · Published Sep 19, 2021 · Assigned by apache
CVE-2021-40690Bypass of the secureValidation property
High 7.5
In plain English
A high-severity information exposure in Apache Santuario from Apache Software Foundation. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 7.4% (higher than 94% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | libxml-security-java | 2.1.7-1 | DEBIAN-CVE-2021-40690 |
| Debian:13 | libxml-security-java | 2.1.7-1 | DEBIAN-CVE-2021-40690 |
| Debian:14 | libxml-security-java | 2.1.7-1 | DEBIAN-CVE-2021-40690 |
| Maven | org.apache.santuario:xmlsec | 2.2.3 | GHSA-j8wc-gxx9-82hx |
| Maven | org.apache.santuario:xmlsec | 2.1.7 | GHSA-j8wc-gxx9-82hx |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Apache Software Foundation | Apache Santuario | XML Security for Java – before 2.2.3,2.1.7 |
Weakness: CWE-200
References
- https://lists.apache.org/thread.html/r8848751b6a5dd78cc9e99d627e74fecfaffdfa1bb615dce827aad633%40%3Cdev.santuario.apache.org%3E
- [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
- [debian-lts-announce] 20210927 [SECURITY] [DLA 2767-1] libxml-security-java security update 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
- DSA-5010 vendor-advisory
- https://www.oracle.com/security-alerts/cpuapr2022.html
- https://www.oracle.com/security-alerts/cpujul2022.html
- https://security.netapp.com/advisory/ntap-20230818-0002/