Vulnerability · Published Sep 19, 2021 · Assigned by apache

CVE-2021-40690Bypass of the secureValidation property

High 7.5

In plain English

A high-severity information exposure in Apache Santuario from Apache Software Foundation. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 7.4% (higher than 94% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)7.5High
Exploit odds (30 days)7.4%top 5.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12libxml-security-java2.1.7-1DEBIAN-CVE-2021-40690
Debian:13libxml-security-java2.1.7-1DEBIAN-CVE-2021-40690
Debian:14libxml-security-java2.1.7-1DEBIAN-CVE-2021-40690
Mavenorg.apache.santuario:xmlsec2.2.3GHSA-j8wc-gxx9-82hx
Mavenorg.apache.santuario:xmlsec2.1.7GHSA-j8wc-gxx9-82hx

Affected products (as reported)

VendorProductVersions
Apache Software Foundation Apache Santuario XML Security for Java – before 2.2.3,2.1.7

Weakness: CWE-200

References