CVE-2024-38827
MEDIUM4.8EPSS 0.40%Spring Framework has Authorization Bypass for Case Sensitive Comparisons
Published: 12/2/2024Modified: 2/4/2026
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 (1)
- Maven/org.springframework.security:spring-security-corefrom 0, < 5.7.14
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | 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 |
| osv | CVSS 3.1 | MEDIUM4.8 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N |
References (7)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2024-38827
- PATCHhttps://github.com/spring-projects/spring-security
- WEBhttps://github.com/spring-projects/spring-framework/commit/11d4272ff48b4a4dabc4b28dfbff0364a4204bc9
- WEBhttps://github.com/spring-projects/spring-framework/issues/33708
- WEBhttps://github.com/spring-projects/spring-framework/issues/34232
- WEBhttps://security.netapp.com/advisory/ntap-20250124-0007
- WEBhttps://spring.io/security/cve-2024-38827