MODERATE 4.8
CVE-2024-38827
Spring Framework has Authorization Bypass for Case Sensitive Comparisons
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 Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.springframework.security » spring-security-core | < 5.7.14>= 5.8.0, < 5.8.16>= 6.0.0, < 6.0.14>= 6.1.0, < 6.1.12>= 6.2.0, < 6.2.8>= 6.3.0, < 6.3.5 | 5.7.14, 5.8.16, 6.0.14, 6.1.12, 6.2.8, 6.3.5 |
Blast radius
1affected artifacts
317affected versions
17,212dependent artifacts (est.)
1,622,165dependent versions
68% of the dependent artifacts (11,761) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 167,496 |
| 2 hops | 486,197 |
| 3 hops | 590,438 |
| 4 hops | 208,273 |
| 5 hops | 133,051 |
| 6 hops | 36,710 |
Most used dependents
- org.springframework.boot » spring-boot-starter-security3,606 usages
- org.apache.spark » spark-sql3,174 usages
- org.apache.spark » spark-core2,899 usages
- org.springframework.security » spring-security-web2,133 usages
- org.springframework.security » spring-security-config2,063 usages
- org.springframework.security » spring-security-test1,308 usages
- org.jenkins-ci.main » jenkins-core1,191 usages
- org.apache.hbase » hbase-client960 usages
- com.atlassian.jira » jira-api893 usages
- org.apache.spark » spark-mllib831 usages
- com.atlassian.confluence » confluence724 usages
- org.apache.hive » hive-exec699 usages
- org.apache.hbase » hbase-common674 usages
- org.apache.spark » spark-streaming670 usages
- org.apache.hbase » hbase-server643 usages
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
- Advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2024-38827
- Webhttps://github.com/spring-projects/spring-framework/issues/33708
- Webhttps://github.com/spring-projects/spring-framework/issues/34232
- Webhttps://github.com/spring-projects/spring-framework/commit/11d4272ff48b4a4dabc4b28dfbff0364a4204bc9
- Packagehttps://github.com/spring-projects/spring-security
- Webhttps://security.netapp.com/advisory/ntap-20250124-0007
- Webhttps://spring.io/security/cve-2024-38827
