CVE-2021-40690: Exposure of Sensitive Information to an Unauthorized Actor in Apache Santuario
7.5
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.55769%
CWE
Published
9/20/2021
Updated
8/18/2023
KEV Status
No
Technology
Java
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
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 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from improper propagation of the secureValidation
flag during KeyInfo
creation from KeyInfoReference
elements. The KeyInfoReferenceResolver
's engineLookup()
method is the entry point that fails to pass this critical security parameter. The KeyInfo
constructor's validation()
logic becomes bypassed when instantiated without this flag, particularly affecting RetrievalMethod
handling with XPath
Transforms. These functions would appear in stack traces when processing malicious KeyInfoReference
elements with XPath
-based RetrievalMethods
.