GHSA-564r-hj7v-mcr5
Spring Framework vulnerable to denial of service via specially crafted SpEL expression
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Maven | org.springframework:spring-expression | >= 6.0.0, < 6.0.7 | 6.0.7 |
| Maven | org.springframework:spring-expression | >= 5.3.0, < 5.3.26 | 5.3.26 |
| Maven | org.springframework:spring-expression | < 5.2.23.RELEASE | 5.2.23.RELEASE |
Details
As written in the advisory (Markdown source, shown as plain text).
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.
References
External links from the advisory. They lead to third-party sites.
- https://nvd.nist.gov/vuln/detail/CVE-2023-20861
- https://github.com/spring-projects/spring-framework/commit/430fc25acad2e85cbdddcd52b64481691f03ebd1
- https://github.com/spring-projects/spring-framework/commit/52c93b1c4b24d70de233a958e60e7c5822bd274f
- https://github.com/spring-projects/spring-framework/commit/935c29e3ddba5b19951e54f6685c70ed45d9cbe5
- https://github.com/spring-projects/spring-framework
- https://security.netapp.com/advisory/ntap-20230420-0007
- https://spring.io/security/cve-2023-20861