GHSA-q3v6-hm2v-pw99
Spring Framework has Authorization Bypass for Case Sensitive Comparisons
At a glance
- Published
- Updated
- CVE
- CVE-2024-38827
- CVSS_V3
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
- CVSS_V4
- CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
Description
The usage of String.toLowerCase() and String.toUpperCase() has some Locale dependent exceptions that could potentially result in authorization rules not working properly.
Affected packages
| Package | Versions |
|---|---|
| Maven · org.springframework.security:spring-security-core | introduced 0, fixed 5.7.14 |
| Maven · org.springframework.security:spring-security-core | introduced 5.8.0, fixed 5.8.16 |
| Maven · org.springframework.security:spring-security-core | introduced 6.0.0, fixed 6.0.14 |
| Maven · org.springframework.security:spring-security-core | introduced 6.1.0, fixed 6.1.12 |
| Maven · org.springframework.security:spring-security-core | introduced 6.2.0, fixed 6.2.8 |
| Maven · org.springframework.security:spring-security-core | introduced 6.3.0, fixed 6.3.5 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-38827 ADVISORY
- https://github.com/spring-projects/spring-framework/issues/33708 WEB
- https://github.com/spring-projects/spring-framework/issues/34232 WEB
- https://github.com/spring-projects/spring-framework/commit/11d4272ff48b4a4dabc4b28dfbff0364a4204bc9 WEB
- https://github.com/spring-projects/spring-security PACKAGE
- https://security.netapp.com/advisory/ntap-20250124-0007 WEB
- https://spring.io/security/cve-2024-38827 WEB
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — GitHub Advisory Database |