CVE-2023-20860
7.5high
Spring Framework is vulnerable to security bypass via mvcRequestMatcher pattern mismatch
- Severity
- 7.5high CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 3.51% (higher than 89% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- vmware
- Also known as
- GHSA-7phw-cxx7-q9vq
Description
Spring Framework running version 6.0.0 - 6.0.6 or 5.3.0 - 5.3.25 using "**" as a pattern in Spring Security configuration with the mvcRequestMatcher creates a mismatch in pattern matching between Spring Security and Spring MVC, and the potential for a security bypass.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Spring Framework | Spring Framework (versions 6.0.0 to 6.0.6 and 5.3.0 to 5.3.25) | CVE List |
| org.springframework:spring (Maven) | from 6.0.0 before 6.0.7, from 5.3.0 before 5.3.26 | GitHub Advisory Database |
| org.springframework:spring-webmvc (Maven) | from 6.0.0 before 6.0.7, from 5.3.0 before 5.3.26 | GitHub Advisory Database |
| vmware spring_framework | from 5.3.0 before 5.3.26, from 6.0.0 before 6.0.7 | NVD |
All scores
| CISA-ADP | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| GitHub | 9.1critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-20860 changed 2025-02-19 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-7phw-cxx7-q9vq changed 2025-09-23 | CC-BY-4.0 |
| NVD | CVE-2023-20860 changed 2026-06-17 | Public domain |