Authentication Bypass Affecting org.springframework.security:spring-security-web package, versions [6.1.0,6.1.7)[6.2.0,6.2.2)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.68% (48th 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 IDSNYK-JAVA-ORGSPRINGFRAMEWORKSECURITY-6254469
  • published20 Feb 2024
  • disclosed19 Feb 2024
  • creditRogério Sorroche

Introduced: 19 Feb 2024

CVE-2024-22234  (opens in a new tab)
CWE-287  (opens in a new tab)

How to fix?

Upgrade org.springframework.security:spring-security-web to version 6.1.7, 6.2.2 or higher.

Overview

org.springframework.security:spring-security-web is a package within Spring Security that provides security services for the Spring IO Platform.

Affected versions of this package are vulnerable to Authentication Bypass when directly using the AuthenticationTrustResolver.isFullyAuthenticated(Authentication) method and passing a null authentication parameter to it.

Note:

An application is not vulnerable if any of the following is true:

  1. the application does not use AuthenticationTrustResolver.isFullyAuthenticated(Authentication) directly

  2. the application does not pass null to AuthenticationTrustResolver.isFullyAuthenticated

  3. the application only uses isFullyAuthenticated via Method Security or HTTP Request Security

CVSS Base Scores

version 3.1