org.springframework.security:spring-security-oauth2-client@6.2.1 vulnerabilities

  • latest version

    6.4.2

  • latest non vulnerable version

  • first published

    7 years ago

  • latest version published

    9 days ago

  • licenses detected

  • package manager

  • Direct Vulnerabilities

    Known vulnerabilities in the org.springframework.security:spring-security-oauth2-client package. This does not include vulnerabilities belonging to this package’s dependencies.

    How to fix?

    Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.

    Fix for free
    VulnerabilityVulnerable Version
    • M
    Authorization Bypass

    Affected versions of this package are vulnerable to Authorization Bypass due to the use of String.toLowerCase() and String.toUpperCase() that have Locale dependent exceptions, which results in authorization rules not working properly.

    How to fix Authorization Bypass?

    Upgrade org.springframework.security:spring-security-oauth2-client to version 5.7.14, 5.8.16, 6.2.8, 6.3.5 or higher.

    [,5.7.14)[5.8.0,5.8.16)[6.2.0,6.2.8)[6.3.0,6.3.5)
    • H
    Authentication Bypass

    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

    How to fix Authentication Bypass?

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

    [6.1.0,6.1.7)[6.2.0,6.2.2)