HIGH 7.5

CVE-2021-40690

Exposure of Sensitive Information to an Unauthorized Actor in Apache Santuario

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 Maven artifacts (1)

ArtifactAffected versionsFixed in
org.apache.santuario » xmlsec
< 2.1.7>= 2.2.0, < 2.2.3
2.1.7, 2.2.3

Blast radius

1affected artifacts
71affected versions
8,287dependent artifacts (est.)
492,009dependent versions

51% of the dependent artifacts (4,249) still pull an affected version in their latest release.

DepthDependent versions
Direct
9,768
2 hops
48,435
3 hops
104,572
4 hops
128,073
5 hops
107,487
6 hops
93,674

Most used dependents

Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.