org.springframework.security:spring-security-crypto@4.0.2.RELEASE vulnerabilities

  • latest version

    6.4.1

  • latest non vulnerable version

  • first published

    13 years ago

  • latest version published

    26 days ago

  • licenses detected

  • package manager

  • Direct Vulnerabilities

    Known vulnerabilities in the org.springframework.security:spring-security-crypto 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

    org.springframework.security:spring-security-crypto is a spring-security-crypto library for Spring Security.

    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-crypto 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)
    • M
    Integer Overflow or Wraparound

    org.springframework.security:spring-security-crypto is a spring-security-crypto library for Spring Security.

    Affected versions of this package are vulnerable to Integer Overflow or Wraparound when using the BCrypt class with the maximum work factor (31). In such a case, the encoder does not perform any salt rounds due to the overflow.

    Note:

    The default settings are not affected by this CVE.

    How to fix Integer Overflow or Wraparound?

    Upgrade org.springframework.security:spring-security-crypto to version 5.5.7, 5.6.4 or higher.

    [,5.5.7)[5.6.0,5.6.4)