GHSA-48rw-j489-928m

Signature wrapping vulnerability in Spring Security

At a glance

Published
Updated
CVE
CVE-2020-5407
CVSS_V3
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

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.

Affected packages

PackageVersions
Maven · org.springframework.security:spring-security-coreintroduced 5.2.0, fixed 5.2.4
Maven · org.springframework.security:spring-security-coreintroduced 5.3.0, fixed 5.3.2

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database