CVE-2024-38808
Spring Framework vulnerable to Denial of Service
Description
In Spring Framework versions 5.3.0 - 5.3.38 and older unsupported versions, it is possible for a user to provide a specially crafted Spring Expression Language (SpEL) expression that may cause a denial of service (DoS) condition. Older, unsupported versions are also affected.
Specifically, an application is vulnerable when the following is true:
- The application evaluates user-supplied SpEL expressions.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.springframework » spring-expression | < 5.3.39 | 5.3.39 |
Blast radius
73% of the dependent artifacts (57,948) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 99,183 |
| 2 hops | 510,825 |
| 3 hops | 1,403,872 |
| 4 hops | 913,068 |
| 5 hops | 328,775 |
| 6 hops | 139,392 |
Most used dependents
- org.springframework.boot » spring-boot-starter-test20,993 usages
- org.springframework.boot » spring-boot-starter-web19,081 usages
- org.springframework » spring-context18,670 usages
- org.springframework.boot » spring-boot-autoconfigure15,709 usages
- org.springframework.boot » spring-boot-starter12,901 usages
- org.springframework » spring-test12,234 usages
- org.springframework » spring-web12,086 usages
- org.springframework » spring-webmvc7,538 usages
- org.springframework.boot » spring-boot-starter-actuator6,564 usages
- org.springframework » spring-jdbc5,611 usages
- org.springframework.boot » spring-boot5,107 usages
- org.springframework » spring-tx5,095 usages
- org.springframework.boot » spring-boot-starter-validation4,721 usages
- org.springframework.boot » spring-boot-starter-aop4,662 usages
- org.springframework » spring-context-support4,340 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-38808
- Webhttps://github.com/spring-projects/spring-framework/commit/26f2dad388499faecf99e75b8856788e95d8d658
- Webhttps://github.com/spring-projects/spring-framework/commit/f44d13cb7816e586b86c02421af4f5498391111c
- Packagehttps://github.com/spring-projects/spring-framework
- Webhttps://security.netapp.com/advisory/ntap-20240920-0002
- Webhttps://spring.io/security/cve-2024-38808
