Authentication Bypass Affecting org.springframework.security:spring-security-oauth2-client 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-6254468
- 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-oauth2-client to version 6.1.7, 6.2.2 or higher.
Overview
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
nulltoAuthenticationTrustResolver.isFullyAuthenticatedthe application only uses
isFullyAuthenticatedvia Method Security or HTTP Request Security