Every CVE Search/ Get API key

CVE-2020-5407

Signature Wrapping Vulnerability with spring-security-saml2-service-provider

8.8 HighFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
Low
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

1.20%Down 0.3 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 8.8

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.

Record
CVE-2020-5407
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0
6.5 MediumAV:N/AC:L/Au:S/C:P/I:P/A:P
Weakness
CWE-347
Updated
2026-11-02
CVE List No score

Signature Wrapping Vulnerability with spring-security-saml2-service-provider

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.

Record
CVE-2020-5407
Weakness
CWE-347
Updated
2026-11-02
EUVDEUVD-2020-0457 No score

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.

Record
EUVD-2020-0457
Updated
2026-11-03
GitHub AdvisoriesGHSA-48rw-j489-928m 8.8

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

Record
GHSA-48rw-j489-928m
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-347
Updated
2026-11-02
OSVGHSA-48rw-j489-928m 8.8

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

Record
GHSA-48rw-j489-928m
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-347
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
org.springframework.security:spring-security-core
Maven
5.2.0 up to 5.2.4
5.2.4
org.springframework.security:spring-security-core
Maven
5.3.0 up to 5.3.2
5.3.2
org.springframework.security:spring-security-core
Maven
5.2.0 up to 5.2.4, plus listed versions
5.2.0.RELEASE5.2.1.RELEASE5.2.2.RELEASE5.2.3.RELEASE
5.2.4
org.springframework.security:spring-security-core
Maven
5.3.0 up to 5.3.2, plus listed versions
5.3.0.RELEASE5.3.1.RELEASE
5.3.2

History

History
RecordedChangedSources
aliases, products, publishedEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2020-5407 is a high vulnerability (CVSS 8.8) in Pivotal Software Spring Security, published May 13, 2020. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.20%, the 68th percentile. Fixed in org.springframework.security:spring-security-core 5.2.4.

References

Show 6 moreShow less
MoveEnter Open