CVE-2023-20861
MEDIUM 6.5CVSS 3.1Spring Framework vulnerable to denial of service via specially crafted SpEL expression
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.
- Published
- 23 Mar 2023
- Last modified
- 17 Jun 2026
- Assigned by
- security@vmware.com
- NVD status
- Modified
- Weakness
- CWE-400CWE-917
- Also known as
- GHSA-564r-hj7v-mcr5
- Sources
- NVDJSONOSV GHSA-564r-hj7v-mcr5JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | vmware | spring_frameworkcpe:2.3:a:vmware:spring_framework:*:*:*:*:*:*:*:* |
<= 5.2.22 | |
| NVD | vmware | spring_frameworkcpe:2.3:a:vmware:spring_framework:*:*:*:*:*:*:*:* |
>= 5.3.0, <= 5.3.25 | |
| NVD | vmware | spring_frameworkcpe:2.3:a:vmware:spring_framework:*:*:*:*:*:*:*:* |
>= 6.0.0, <= 6.0.6 | |
| OSV | Maven | org.springframework:spring-expression | >= 6.0.0, < 6.0.7 | 6.0.7 |
| OSV | Maven | org.springframework:spring-expression | >= 5.3.0, < 5.3.26 | 5.3.26 |
| OSV | Maven | org.springframework:spring-expression | < 5.2.23.RELEASE | 5.2.23.RELEASE |
References
- https://security.netapp.com/advisory/ntap-20230420-0007/ · WEB
- https://spring.io/security/cve-2023-20861 · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-20861 · ADVISORY
- https://github.com/spring-projects/spring-framework/commit/430fc25acad2e85cbdddcd52b64481691f03ebd1 · WEB
- https://github.com/spring-projects/spring-framework/commit/52c93b1c4b24d70de233a958e60e7c5822bd274f · WEB
- https://github.com/spring-projects/spring-framework/commit/935c29e3ddba5b19951e54f6685c70ed45d9cbe5 · WEB
- https://github.com/spring-projects/spring-framework · PACKAGE
History
- 25 Nov 2026 20:36 UTC · NVD: first stored (published 23 Mar 2023)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 23 Mar 2023)