Live threats

All CVEs / Apache

CVE-2021-40690Apache Santuario Xml Security For Java

High 7.5 No auth needed

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Santuario Xml Security For Java.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
apachesantuario_xml_security_for_java< 2.1.7
apachesantuario_xml_security_for_java≥ 2.2.0 < 2.2.3
apachecxf3.4.4
apachetomee< 8.0.8
debiandebian_linux9.0
debiandebian_linux10.0
debiandebian_linux11.0
oracleagile_product_lifecycle_management9.3.6
oraclecommerce_guided_search11.3.2
oraclecommerce_platform11.3.2
oraclecommunications_diameter_intelligence_hub≥ 8.0.0 ≤ 8.1.0
oraclecommunications_diameter_intelligence_hub≥ 8.2.0 ≤ 8.2.3
oraclecommunications_messaging_server8.1
oracleflexcube_private_banking12.1.0
oracleoutside_in_technology8.5.5
oraclepeoplesoft_enterprise_peopletools8.58
oraclepeoplesoft_enterprise_peopletools8.59
oracleretail_bulk_data_integration16.0.3
oracleretail_financial_integration14.1.3.2
oracleretail_financial_integration15.0.3.1
oracleretail_financial_integration16.0.3
oracleretail_financial_integration19.0.1
oracleretail_integration_bus14.1.3.2
oracleretail_integration_bus15.0.3.1
oracleretail_integration_bus16.0.3
oracleretail_integration_bus19.0.1
oracleretail_merchandising_system16.0.3
oracleretail_merchandising_system19.0.1
oracleretail_service_backbone14.1.3.2
oracleretail_service_backbone15.0.3.1
oracleretail_service_backbone16.0.3
oracleretail_service_backbone19.0.1
oracleweblogic_server12.2.1.4.0
oracleweblogic_server14.1.1.0.0

Official sources

References

Links published by the sources. Open them with care.