Spring Security Advisories

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

MEDIUM | MAY 07, 2020 | CVE-2020-5407

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 Spring Products and Versions

  • Spring Security
    • 5.2.x prior to 5.2.4
    • 5.3.x prior to 5.3.2

Mitigation

undefined

  • Spring Security
    • 5.2.4
    • 5.3.2

Credit

This issue was identified and responsibly reported by Sam Tinklenberg.

History

  • 2020-05-07: Initial vulnerability report published.

Get ahead

VMware offers training and certification to turbo-charge your progress.

Learn more

Get support

Tanzu Spring Runtime offers support and binaries for OpenJDK™, Spring, and Apache Tomcat® in one simple subscription.

Learn more

Upcoming events

Check out all the upcoming events in the Spring community.

View all