CVE-2021-40690Apache Santuario Xml Security For Java
High 7.5 No auth needed
Follow: this CVE · Apache · Apache Santuario Xml Security For Java We alert you by email or Slack (account required).
- Priority
- 61
- CVSS 3.1
- 7.5
- EPSS
- 7.4% probability of exploitation in 30 days · percentile 95
- Auth required
- No
- Published
- Sep 19, 2021
- Updated
- Oct 8, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-200
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
What happens
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.
What to do
- Apply the vendor's security update for Santuario Xml Security For Java.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.apache.santuario:xmlsec |
≥ 2.2.0 < 2.2.3 |
2.2.3 |
— |
| Maven | org.apache.santuario:xmlsec |
< 2.1.7 |
2.1.7 |
— |
Per OSV / GitHub Advisories (GHSA-j8wc-gxx9-82hx). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| apache | santuario_xml_security_for_java | < 2.1.7 |
| apache | santuario_xml_security_for_java | ≥ 2.2.0 < 2.2.3 |
| apache | cxf | 3.4.4 |
| apache | tomee | < 8.0.8 |
| debian | debian_linux | 9.0 |
| debian | debian_linux | 10.0 |
| debian | debian_linux | 11.0 |
| oracle | agile_product_lifecycle_management | 9.3.6 |
| oracle | commerce_guided_search | 11.3.2 |
| oracle | commerce_platform | 11.3.2 |
| oracle | communications_diameter_intelligence_hub | ≥ 8.0.0 ≤ 8.1.0 |
| oracle | communications_diameter_intelligence_hub | ≥ 8.2.0 ≤ 8.2.3 |
| oracle | communications_messaging_server | 8.1 |
| oracle | flexcube_private_banking | 12.1.0 |
| oracle | outside_in_technology | 8.5.5 |
| oracle | peoplesoft_enterprise_peopletools | 8.58 |
| oracle | peoplesoft_enterprise_peopletools | 8.59 |
| oracle | retail_bulk_data_integration | 16.0.3 |
| oracle | retail_financial_integration | 14.1.3.2 |
| oracle | retail_financial_integration | 15.0.3.1 |
| oracle | retail_financial_integration | 16.0.3 |
| oracle | retail_financial_integration | 19.0.1 |
| oracle | retail_integration_bus | 14.1.3.2 |
| oracle | retail_integration_bus | 15.0.3.1 |
| oracle | retail_integration_bus | 16.0.3 |
| oracle | retail_integration_bus | 19.0.1 |
| oracle | retail_merchandising_system | 16.0.3 |
| oracle | retail_merchandising_system | 19.0.1 |
| oracle | retail_service_backbone | 14.1.3.2 |
| oracle | retail_service_backbone | 15.0.3.1 |
| oracle | retail_service_backbone | 16.0.3 |
| oracle | retail_service_backbone | 19.0.1 |
| oracle | weblogic_server | 12.2.1.4.0 |
| oracle | weblogic_server | 14.1.1.0.0 |
Official sources
References
Links published by the sources. Open them with care.
- lists.apache.org
- lists.apache.org
- lists.apache.org Issue Tracking Mailing List Patch
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.debian.org Mailing List Third Party Advisory
- security.netapp.com
- www.debian.org Third Party Advisory
- www.oracle.com Patch Third Party Advisory
- www.oracle.com Patch Third Party Advisory