CVE-2020-5407
mediumpriority · track · 35EPSS 0.012 · 68 %ileEURUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 6.5–8.8
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (9)
Products and version ranges known to be affected.
- pivotal software spring security5.2.0 → 5.2.4nvdUScpe:2.3:a:pivotal_software:spring_security:*:*:*:*:*:*:*:*
- pivotal software spring security5.3.0 → 5.3.2nvdUScpe:2.3:a:pivotal_software:spring_security:*:*:*:*:*:*:*:*
- Maven org.springframework.security:spring-security-core5.2.0 → 5.2.4osvUSpkg:maven/org.springframework.security/spring-security-core
- Maven org.springframework.security:spring-security-core5.3.0 → 5.3.2osvUSpkg:maven/org.springframework.security/spring-security-core
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-48rw-j489-928mSignature wrapping vulnerability in Spring Security2020-06-05ghsa · osvUS
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.
also known as (4)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (24)
External citations — patches, advisories, analysis.
- https://lists.apache.org/thread.html/r73af928cf64bebf78b7fa4bc56a5253273ec7829f5f5827f64c72fc7@%3Cissues.servicemix.apache.org%3Ecnnvd
- https://lists.apache.org/thread.html/ra19a4e7236877fe12bfb52db07b27ad72d9e7a9f5e27bba7e928e18a@%3Cdev.geode.apache.org%3Ecnnvd
- https://lists.apache.org/thread.html/rd99601fbca514f214f88f9e53fd5be3cfbff05b350c994b4ec2e184c@%3Cdev.geode.apache.org%3Ecnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2020-5407cnnvd
- https://tanzu.vmware.com/security/cve-2020-5407cnnvd
- https://vigilance.fr/vulnerability/Spring-Security-read-write-access-via-Signature-Wrapping-33643cnnvd
- https://www.ibm.com/blogs/psirt/security-bulletin-ibm-data-risk-manager-is-affected-by-multiple-vulnerabilities-3/cnnvd
- https://www.oracle.com/security-alerts/cpuApr2021.htmlcnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan