CVE-2020-5407
HIGH 8.8CVSS 3.1Signature wrapping vulnerability in Spring Security
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.
- Published
- 13 May 2020
- Last modified
- 17 Jun 2026
- Assigned by
- security@pivotal.io
- NVD status
- Modified
- Weakness
- CWE-347
- Also known as
- GHSA-48rw-j489-928m
- Sources
- NVDJSONOSV GHSA-48rw-j489-928mJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.5 | AV:N/AC:L/Au:S/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | pivotal_software | spring_securitycpe:2.3:a:pivotal_software:spring_security:*:*:*:*:*:*:*:* |
>= 5.2.0, < 5.2.4 | 5.2.4 |
| NVD | pivotal_software | spring_securitycpe:2.3:a:pivotal_software:spring_security:*:*:*:*:*:*:*:* |
>= 5.3.0, < 5.3.2 | 5.3.2 |
| OSV | Maven | org.springframework.security:spring-security-core | >= 5.2.0, < 5.2.4 | 5.2.4 |
| OSV | Maven | org.springframework.security:spring-security-core | >= 5.3.0, < 5.3.2 | 5.3.2 |
References
- https://lists.apache.org/thread.html/r73af928cf64bebf78b7fa4bc56a5253273ec7829f5f5827f64c72fc7%40%3Cissues.servicemix.apache.org%3E
- https://lists.apache.org/thread.html/ra19a4e7236877fe12bfb52db07b27ad72d9e7a9f5e27bba7e928e18a%40%3Cdev.geode.apache.org%3E
- https://lists.apache.org/thread.html/rd99601fbca514f214f88f9e53fd5be3cfbff05b350c994b4ec2e184c%40%3Cdev.geode.apache.org%3E
- https://tanzu.vmware.com/security/cve-2020-5407 · Vendor Advisory, WEB
- https://www.oracle.com/security-alerts/cpuApr2021.html · WEB
- https://www.oracle.com/security-alerts/cpujan2021.html · WEB
- https://www.oracle.com/security-alerts/cpuoct2020.html · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2020-5407 · ADVISORY
- https://lists.apache.org/thread.html/r73af928cf64bebf78b7fa4bc56a5253273ec7829f5f5827f64c72fc7@%3Cissues.servicemix.apache.org%3E · WEB
- https://lists.apache.org/thread.html/ra19a4e7236877fe12bfb52db07b27ad72d9e7a9f5e27bba7e928e18a@%3Cdev.geode.apache.org%3E · WEB
- https://lists.apache.org/thread.html/rd99601fbca514f214f88f9e53fd5be3cfbff05b350c994b4ec2e184c@%3Cdev.geode.apache.org%3E · WEB
History
- 25 Nov 2026 20:31 UTC · NVD: first stored (published 13 May 2020)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 5 Jun 2020)