CVE-2023-20860
CRITICAL9.1EPSS 56.3%Spring Framework is vulnerable to security bypass via mvcRequestMatcher pattern mismatch
Published: 3/28/2023Modified: 4/28/2026
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 packages (3)
- Debian/libspring-javafrom 0
- Maven/org.springframework:spring>= 6.0.0, < 6.0.7
- Maven/org.springframework:spring-webmvc>= 6.0.0, < 6.0.7
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | CRITICAL9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
References (6)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2023-20860
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2023-20860
- PATCHhttps://github.com/spring-projects/spring-framework
- WEBhttps://github.com/spring-projects/spring-framework/commit/202fa5cdb3a3d0cfe6967e85fa167d978244f28a
- WEBhttps://security.netapp.com/advisory/ntap-20230505-0006
- WEBhttps://spring.io/security/cve-2023-20860