Authentication Bypass Affecting org.springframework.security:spring-security-web package, versions [6.1.0,6.1.7) [6.2.0,6.2.2)
Threat Intelligence
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 ID SNYK-JAVA-ORGSPRINGFRAMEWORKSECURITY-6254469
- published 20 Feb 2024
- disclosed 19 Feb 2024
- credit Rogério Sorroche
Introduced: 19 Feb 2024
CVE-2024-22234 Open this link in a new tabHow 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:
the application does not use
AuthenticationTrustResolver.isFullyAuthenticated(Authentication)
directlythe application does not pass
null
toAuthenticationTrustResolver.isFullyAuthenticated
the application only uses
isFullyAuthenticated
via Method Security or HTTP Request Security