# CVE-2020-5407: Signature Wrapping Vulnerability with spring-security-saml2-service-provider

- Severity: High 8.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.20%, higher than 69% of CVEs (2026-12-01)
- Published: 2020-05-13T17:00:15.881Z
- Modified: 2026-06-17T03:21:26.190Z
- Also known as: GHSA-48rw-j489-928m
- Weaknesses: CWE-347
- Assigned by: pivotal

## 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.

(As written by CVE List.)

## Affected

- Spring by VMware Spring Security: from 5.2 before 5.2.4; from 5.3 before 5.3.2
- org.springframework.security:spring-security-core (Maven): from 5.2.0 before 5.2.4; from 5.3.0 before 5.3.2
- pivotal_software spring_security: from 5.2.0 before 5.2.4; from 5.3.0 before 5.3.2

## Every score

- GitHub: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.5 Medium `AV:N/AC:L/Au:S/C:P/I:P/A:P`

## References

- <https://lists.apache.org/thread.html/r73af928cf64bebf78b7fa4bc56a5253273ec7829f5f5827f64c72fc7%40%3Cissues.servicemix.apache.org%3E> (mailing-list)
- <https://lists.apache.org/thread.html/rd99601fbca514f214f88f9e53fd5be3cfbff05b350c994b4ec2e184c%40%3Cdev.geode.apache.org%3E> (mailing-list)
- <https://lists.apache.org/thread.html/ra19a4e7236877fe12bfb52db07b27ad72d9e7a9f5e27bba7e928e18a%40%3Cdev.geode.apache.org%3E> (mailing-list)
- <https://www.oracle.com/security-alerts/cpuoct2020.html> (web)
- <https://tanzu.vmware.com/security/cve-2020-5407> (vendor-advisory, web)
- <https://www.oracle.com/security-alerts/cpujan2021.html> (web)
- <https://www.oracle.com/security-alerts/cpuApr2021.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)

## Sources

- CVE List: [CVE-2020-5407](https://www.cve.org/CVERecord?id=CVE-2020-5407), CVE Terms of Use, modified 2024-09-16
- GitHub Advisory Database: [GHSA-48rw-j489-928m](https://github.com/advisories/GHSA-48rw-j489-928m), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2020-5407](https://nvd.nist.gov/vuln/detail/CVE-2020-5407), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-5407 · Whole record: https://cve.day/CVE-2020-5407.json · Rebuilt by cve.day 2026-11-25T22:57:52.395Z
