CRITICAL 9.1
CVE-2024-38821
Spring Security vulnerable to Authorization Bypass of Static Resources in WebFlux Applications
Description
Spring WebFlux applications that have Spring Security authorization rules on static resources can be bypassed under certain circumstances.
For this to impact an application, all of the following must be true:
- It must be a WebFlux application
- It must be using Spring's static resources support
- It must have a non-permitAll authorization rule applied to the static resources support
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.springframework.security » spring-security-web | >= 5.0.0, < 5.7.13>= 5.8.0, < 5.8.15>= 6.0.0, < 6.0.13>= 6.1.0, < 6.1.11>= 6.2.0, < 6.2.7>= 6.3.0, < 6.3.4 | 5.7.13, 5.8.15, 6.0.13, 6.1.11, 6.2.7, 6.3.4 |
Blast radius
1affected artifacts
184affected versions
8,595dependent artifacts (est.)
574,257dependent versions
57% of the dependent artifacts (4,932) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 35,284 |
| 2 hops | 308,334 |
| 3 hops | 178,262 |
| 4 hops | 42,820 |
| 5 hops | 8,372 |
| 6 hops | 1,185 |
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-test1,308 usages
- org.jenkins-ci.main » jenkins-core1,191 usages
- org.apache.hbase » hbase-client960 usages
- org.apache.spark » spark-mllib831 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
- org.apache.spark » spark-hive633 usages
- com.atlassian.jira » jira-core554 usages
- org.springframework.security » spring-security-cas550 usages
- org.apache.spark » spark-catalyst502 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-38821
- Webhttps://github.com/spring-projects/spring-security/commit/0e257b56ce35402558a260ffa6b368982f9a7934
- Webhttps://github.com/spring-projects/spring-security/commit/4ce7cde15599c0447163fd46bac616e03318bf5b
- Webhttps://github.com/spring-projects/spring-security/commit/b4f27777556c157ec5689c0769322c90be984514
- Packagehttps://github.com/spring-projects/spring-security
- Webhttps://security.netapp.com/advisory/ntap-20250124-0006
- Webhttps://spring.io/security/cve-2024-38821
