CVE
CVE-2023-20860
CVE-2023-20860HIGH 7.5EPSS 90%
CNA 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 versions
All Spring Framework vulnerabilities →
- spring-webmvc≥ 6.0.0, < 6.0.7Fixed in 6.0.7
- spring-webmvc≥ 5.3.0, < 5.3.26Fixed in 5.3.26
Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.
Advisories and patches
- spring.io/security/cve-2023-20860 · Vendor Advisory
- github.com/advisories/GHSA-7phw-cxx7-q9vq · Third Party Advisory
- osv.dev/vulnerability/GHSA-7phw-cxx7-q9vq · Third Party Advisory
- github.com/spring-projects/spring-framework/commit/202fa5cdb3a3d0cfe69 · Vendor Advisory
Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.