Authentication Bypass Affecting org.springframework.security:spring-security-saml2-service-provider package, versions [5.3.0.RELEASE,5.3.2.RELEASE)[5.2.0.RELEASE,5.2.4.RELEASE)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
1.16% (85th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Authentication Bypass vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-ORGSPRINGFRAMEWORKSECURITY-569093
  • published13 May 2020
  • disclosed13 May 2020
  • creditSam Tinklenberg

Introduced: 13 May 2020

CVE-2020-5407  (opens in a new tab)
CWE-287  (opens in a new tab)

How to fix?

Upgrade org.springframework.security:spring-security-saml2-service-provider to version 5.3.2.RELEASE, 5.2.4.RELEASE or higher.

Overview

org.springframework.security:spring-security-saml2-service-provider is a security component for the Spring Framework.

Affected versions of this package are vulnerable to Authentication Bypass. A malicious user can carefully modify an otherwise valid SAML response and append an arbitrary assertion that Spring Security will accept as valid.

CVSS Scores

version 3.1