What’s Vulnerable › Vulnerabilities

CVE-2021-40690: Bypass of the secureValidation property

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 products

How to fix

Upgrade to a fixed version: Apache Software Foundation Apache Santuario 2.1.7, 2.2.3; Apache TomEE 8.0.8. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2021-40690 or the next vulnerability affects your stack