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)
| Artifact | Affected versions | Fixed 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
14% of the dependent artifacts (225) still pull an affected version in their latest release.
| Depth | Dependent 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
- org.springframework.boot » spring-boot-starter-security3,606 usages
- org.springframework.security » spring-security-web2,133 usages
- org.springframework.security » spring-security-config2,063 usages
- org.springframework.security » spring-security-test1,308 usages
- com.atlassian.jira » jira-core554 usages
- org.springframework.security » spring-security-cas550 usages
- org.springframework.security » spring-security-oauth2-jose508 usages
- org.apereo.cas » cas-server-core-util-api492 usages
- org.springframework.security » spring-security-oauth2-client481 usages
- org.springframework.boot » spring-boot-starter-oauth2-resource-server463 usages
- org.springframework.security » spring-security-ldap457 usages
- org.springframework.boot » spring-boot-starter-oauth2-client446 usages
- org.apereo.cas » cas-server-core-configuration-api442 usages
- org.apereo.cas » cas-server-core-authentication-api400 usages
- org.springframework.security » spring-security-oauth2-resource-server368 usages
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.
References
| Advisory | NVD CVE-2020-5407 | nvd.nist.gov |
| Web | thread.html/r73af928cf64bebf78b7fa4bc56a5253273ec7829f5f5827f64c72fc7@<issues.servicemix.a ... | lists.apache.org |
| Web | thread.html/ra19a4e7236877fe12bfb52db07b27ad72d9e7a9f5e27bba7e928e18a@<dev.geode.apache.or ... | lists.apache.org |
| Web | thread.html/rd99601fbca514f214f88f9e53fd5be3cfbff05b350c994b4ec2e184c@<dev.geode.apache.or ... | lists.apache.org |
| Web | security/cve-2020-5407 | tanzu.vmware.com |
| Web | security-alerts/cpuApr2021.html | oracle.com |
| Web | security-alerts/cpujan2021.html | oracle.com |
| Web | security-alerts/cpuoct2020.html | oracle.com |
