What’s Vulnerable › Vulnerabilities

CVE-2023-20860: Spring Framework is vulnerable to security bypass via mvcRequestMatcher pattern mismatch

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 products

How to fix

Upgrade to a fixed version: Spring Framework 5.3.26, 6.0.7; Maven Org.Springframework:Spring 6.0.7, 5.3.26; Maven Org.Springframework:Spring-Webmvc 6.0.7, 5.3.26. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2023-20860 or the next vulnerability affects your stack