CVE-2020-5407
Signature Wrapping Vulnerability with spring-security-saml2-service-provider
Reported by pivotal · Published May 13, 2020
spring-security-core is fixed in 5.3.2 and 5.2.4 (Maven Central)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| org.springframework.security:spring-security-core | Maven Central | 5.3.2, 5.2.4 |
| org.springframework.security:spring-security-saml2-service-provider | Maven Central | 5.3.2, 5.2.4 |
| spring_security | pivotal_software | 5.3.2, 5.2.4 |
| Spring Security | Spring by VMware | 5.3.2, 5.2.4 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Spring by VMware | Spring Security | 5.2, 5.3 |
| Spring by VMware | Spring Security | 5.2, 5.3 |
| Maven | org.springframework.security:spring-security-saml2-service-provider | 5.2.0, 5.3.0 |
| Maven | org.springframework.security:spring-security-core | 5.2.0, 5.3.0 |
Timeline
- May 13, 2020 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Jun 15, 2021 CVE Updated
- Apr 10, 2026 Security Advisory
- Aug 30, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2020-5407
vulnetix vdb fixes CVE-2020-5407
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2020-5407/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- [servicemix-issues] 20200514 [jira] [Created] (SM-4384) Create OSGi bundles for spring-security 5.3.2.RELEASE + 5.1.10.RELEASE mailing-listx_refsource_MLIST
- [geode-dev] 20200521 Re: Proposal to backport GEODE-8167 mailing-listx_refsource_MLIST
- [geode-dev] 20200521 Proposal to backport GEODE-8167 mailing-listx_refsource_MLIST
- x_refsource_MISC
- x_refsource_CONFIRM
- x_refsource_MISC
- x_refsource_MISC
- https://lists.apache.org/thread.html/r73af928cf64bebf78b7fa4bc56a5253273ec7829f5f5827f64c72fc7@%3Cissues.servicemix.apache.org%3E url
- https://lists.apache.org/thread.html/ra19a4e7236877fe12bfb52db07b27ad72d9e7a9f5e27bba7e928e18a@%3Cdev.geode.apache.org%3E url
- https://lists.apache.org/thread.html/rd99601fbca514f214f88f9e53fd5be3cfbff05b350c994b4ec2e184c@%3Cdev.geode.apache.org%3E url
- https://github.com/advisories/GHSA-48rw-j489-928m advisory
- https://nvd.nist.gov/vuln/detail/CVE-2020-5407 advisory