GHSA-q3v6-hm2v-pw99
Spring Framework has Authorization Bypass for Case Sensitive Comparisons
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Maven | org.springframework.security:spring-security-core | < 5.7.14 | 5.7.14 |
| Maven | org.springframework.security:spring-security-core | >= 5.8.0, < 5.8.16 | 5.8.16 |
| Maven | org.springframework.security:spring-security-core | >= 6.0.0, < 6.0.14 | 6.0.14 |
| Maven | org.springframework.security:spring-security-core | >= 6.1.0, < 6.1.12 | 6.1.12 |
| Maven | org.springframework.security:spring-security-core | >= 6.2.0, < 6.2.8 | 6.2.8 |
| Maven | org.springframework.security:spring-security-core | >= 6.3.0, < 6.3.5 | 6.3.5 |
Details
As written in the advisory (Markdown source, shown as plain text).
The usage of String.toLowerCase() and String.toUpperCase() has some Locale dependent exceptions that could potentially result in authorization rules not working properly.
References
External links from the advisory. They lead to third-party sites.
- https://nvd.nist.gov/vuln/detail/CVE-2024-38827
- https://github.com/spring-projects/spring-framework/issues/33708
- https://github.com/spring-projects/spring-framework/issues/34232
- https://github.com/spring-projects/spring-framework/commit/11d4272ff48b4a4dabc4b28dfbff0364a4204bc9
- https://github.com/spring-projects/spring-security
- https://security.netapp.com/advisory/ntap-20250124-0007
- https://spring.io/security/cve-2024-38827