Authorization Bypass Affecting org.springframework.security:spring-security-ldap package, versions [,5.7.14)[5.8.0,5.8.16)[6.2.0,6.2.8)[6.3.0,6.3.5)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (11th 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-8399274
  • published20 Nov 2024
  • disclosed19 Nov 2024
  • creditUnknown

Introduced: 19 Nov 2024

CVE-2024-38827  (opens in a new tab)
CWE-285  (opens in a new tab)

How to fix?

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

Overview

org.springframework.security:spring-security-ldap is a package that provides a comprehensive programming and configuration model for modern Java-based enterprise applications - on any kind of deployment platform.

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.

CVSS Scores

version 4.0
version 3.1