HIGH 8.8

CVE-2020-5407

Signature wrapping vulnerability in Spring Security

Description

Spring Security versions 5.2.x prior to 5.2.4 and 5.3.x prior to 5.3.2 contain a signature wrapping vulnerability during SAML response validation. When using the spring-security-saml2-service-provider component, a malicious user can carefully modify an otherwise valid SAML response and append an arbitrary assertion that Spring Security will accept as valid.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.springframework.security » spring-security-core
>= 5.2.0, < 5.2.4>= 5.3.0, < 5.3.2
5.2.4, 5.3.2

Blast radius

1affected artifacts
6affected versions
1,594dependent artifacts (est.)
41,004dependent versions

14% of the dependent artifacts (225) still pull an affected version in their latest release.

DepthDependent versions
Direct
7,977
2 hops
13,423
3 hops
11,236
4 hops
7,481
5 hops
834
6 hops
53

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.