VDB
Sign up
CRITICAL9.1

GHSA-7phw-cxx7-q9vq

Spring Framework is vulnerable to security bypass via mvcRequestMatcher pattern mismatch

Quick fix

GHSA-7phw-cxx7-q9vq — org.springframework:spring: upgrade to the fixed version with the command below.

# pom.xml: bump <version>6.0.7</version> for org.springframework:spring

Details

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven/org.springframework:spring
Introduced in: 6.0.0Fixed in: 6.0.7
Fix# pom.xml: bump <version>6.0.7</version> for org.springframework:spring
Maven/org.springframework:spring
Introduced in: 5.3.0Fixed in: 5.3.26
Fix# pom.xml: bump <version>5.3.26</version> for org.springframework:spring
Maven/org.springframework:spring-webmvc
Introduced in: 6.0.0Fixed in: 6.0.7
Fix# pom.xml: bump <version>6.0.7</version> for org.springframework:spring-webmvc
Maven/org.springframework:spring-webmvc
Introduced in: 5.3.0Fixed in: 5.3.26
Fix# pom.xml: bump <version>5.3.26</version> for org.springframework:spring-webmvc

References