CVE-2023-20861
Spring Framework vulnerable to denial of service via specially crafted SpEL expression
Description
In Spring Framework versions 6.0.0 - 6.0.6, 5.3.0 - 5.3.25, 5.2.0.RELEASE - 5.2.22.RELEASE, and older unsupported versions, it is possible for a user to provide a specially crafted SpEL expression that may cause a denial-of-service (DoS) condition.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.springframework » spring-expression | < 5.2.23.RELEASE>= 5.3.0, < 5.3.26>= 6.0.0, < 6.0.7 | 5.2.23.RELEASE, 5.3.26, 6.0.7 |
Blast radius
70% of the dependent artifacts (53,239) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 97,676 |
| 2 hops | 457,595 |
| 3 hops | 1,301,046 |
| 4 hops | 853,878 |
| 5 hops | 299,807 |
| 6 hops | 132,996 |
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.boot » spring-boot-maven-plugin8,665 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
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-2023-20861
- Webhttps://github.com/spring-projects/spring-framework/commit/430fc25acad2e85cbdddcd52b64481691f03ebd1
- Webhttps://github.com/spring-projects/spring-framework/commit/52c93b1c4b24d70de233a958e60e7c5822bd274f
- Webhttps://github.com/spring-projects/spring-framework/commit/935c29e3ddba5b19951e54f6685c70ed45d9cbe5
- Packagehttps://github.com/spring-projects/spring-framework
- Webhttps://security.netapp.com/advisory/ntap-20230420-0007
- Webhttps://spring.io/security/cve-2023-20861
