critical9.1
CVE-2023-20860
Spring Framework is vulnerable to security bypass via mvcRequestMatcher pattern mismatch
Impact
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 packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| maven | org.springframework:spring | >= 6.0.0, < 6.0.7 | 6.0.7 |
| maven | org.springframework:spring-webmvc | >= 6.0.0, < 6.0.7 | 6.0.7 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Vmware | Spring Framework | from 5.3.0 before 5.3.26 from 6.0.0 before 6.0.7 |
References
- NVD record
- CVE.org record
- GitHub advisory
- https://security.netapp.com/advisory/ntap-20230505-0006/
- https://spring.io/security/cve-2023-20860
- https://github.com/advisories/GHSA-7phw-cxx7-q9vq
- https://nvd.nist.gov/vuln/detail/CVE-2023-20860
- https://github.com/spring-projects/spring-framework/commit/202fa5cdb3a3d0cfe6967e85fa167d978244f28a
- https://security.netapp.com/advisory/ntap-20230505-0006