Bypass of the secureValidation property

Summary

CVECVE-2021-40690
StatePUBLISHED
Assignerapache
Source PriorityCVE Program / NVD first with legacy fallback
Published2021-09-19 18:15:07 UTC
Updated2026-08-25 16:28:27 UTC
DescriptionAll 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.

Risk And Classification

Primary CVSS: v3.1 7.5 HIGH from [email protected]

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Problem Types: CWE-200 | CWE-200 CWE-200 Exposure of Sensitive Information to an Unauthorized Actor


VersionSourceTypeScoreSeverityVector
3.1[email protected]Primary7.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
2.0[email protected]Primary5AV:N/AC:L/Au:N/C:P/I:N/A:N

CVSS v3.1 Breakdown

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

CVSS v2.0 Breakdown

Access Vector
Network
Access Complexity
Low
Authentication
None
Confidentiality
Partial
Integrity
None
Availability
None

AV:N/AC:L/Au:N/C:P/I:N/A:N

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Apache Santuario Xml Security For Java All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Apache Software Foundation Apache Santuario affected XML Security for Java 2.2.3,2.1.7 custom Not specified

References

ReferenceSourceLinkTags
lists.apache.org/thread.html/r8a5c0ce9014bd07303aec1e5eed55951704878016465d3da... af854a3a-2127-422b-91ae-364da2661108 lists.apache.org
Oracle Critical Patch Update Advisory - April 2022 af854a3a-2127-422b-91ae-364da2661108 www.oracle.com Patch, Third Party Advisory
lists.apache.org/thread.html/rbdac116aef912b563da54f4c152222c0754e32fb2f785519... af854a3a-2127-422b-91ae-364da2661108 lists.apache.org
lists.apache.org/thread.html/r3b3f5ba9b0de8c9c125077b71af06026d344a709a8ba67db... af854a3a-2127-422b-91ae-364da2661108 lists.apache.org
lists.apache.org/thread.html/r9c100d53c84d54cf71975e3f0cfcc2856a8846554a04c993... af854a3a-2127-422b-91ae-364da2661108 lists.apache.org
lists.apache.org/thread.html/re294cfc61f509512874ea514d8d64fd276253d54ac378ffa... af854a3a-2127-422b-91ae-364da2661108 lists.apache.org
Pony Mail! af854a3a-2127-422b-91ae-364da2661108 lists.apache.org Issue Tracking, Mailing List, Patch, Third Party Advisory
Debian -- Security Information -- DSA-5010-1 libxml-security-java af854a3a-2127-422b-91ae-364da2661108 www.debian.org Third Party Advisory
Oracle Critical Patch Update Advisory - July 2022 af854a3a-2127-422b-91ae-364da2661108 www.oracle.com Patch, Third Party Advisory
lists.apache.org/thread.html/rbbbac0759b12472abd0c278d32b5e0867bb21934df8e14e5... af854a3a-2127-422b-91ae-364da2661108 lists.apache.org
lists.apache.org/thread.html/raf352f95c19c0c4051af3180752cb69acbea88d0d066ab17... af854a3a-2127-422b-91ae-364da2661108 lists.apache.org
[SECURITY] [DLA 2767-1] libxml-security-java security update af854a3a-2127-422b-91ae-364da2661108 lists.debian.org Mailing List, Third Party Advisory
CVE-2021-40690 Apache XML Security for Java Vulnerability in NetApp Products | NetApp Product Security af854a3a-2127-422b-91ae-364da2661108 security.netapp.com
lists.apache.org/thread.html/r401ecb7274794f040cd757b259ebe3e8c463ae74f7961209... af854a3a-2127-422b-91ae-364da2661108 lists.apache.org
Pony Mail! MITRE lists.apache.org
Pony Mail! MITRE lists.apache.org
Pony Mail! MITRE lists.apache.org
Pony Mail! MITRE lists.apache.org
Pony Mail! MITRE lists.apache.org
Pony Mail! MITRE lists.apache.org
Pony Mail! MITRE lists.apache.org
Pony Mail! MITRE lists.apache.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

Discovery Credit

CNA: An Trinh, Calif. (en)

Legacy QID Mappings

  • 178811 Debian Security Update for libxml-security-java (DLA 2767-1)
  • 178899 Debian Security Update for libxml-security-java (DSA 5010-1)
  • 182723 Debian Security Update for libxml-security-java (CVE-2021-40690)
  • 198870 Ubuntu Security Notification for Apache Extensible Markup Language (XML) Security for Java Vulnerability (USN-5525-1)
  • 239965 Red Hat Update for JBoss Enterprise Application Platform 7.3.10 on RHEL 7 (RHSA-2021:5150)
  • 239966 Red Hat Update for JBoss Enterprise Application Platform 7.3.10 on RHEL 8 (RHSA-2021:5151)
  • 239967 Red Hat Update for JBoss Enterprise Application Platform 7.3.10 on RHEL 6 (RHSA-2021:5149)
  • 376547 Oracle PeopleSoft Enterprise PeopleTools Product Multiple Vulnerabilities (CPUAPR2022)
  • 730577 Atlassian Jira Server and Data Center Extensible Markup Language (XML) Security Vulnerability (JRASERVER-73580)
  • 730639 Atlassian Jira Server and Data Center Abuse XPath Transform Vulnerability (JRASERVER-74420)
  • 87496 Oracle WebLogic Server Multiple Vulnerabilities (CPUJUL2022)
  • 980105 Java (maven) Security Update for org.apache.santuario:xmlsec (GHSA-j8wc-gxx9-82hx)

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report