CRITICAL 9.1

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 Maven artifacts (2)

ArtifactAffected versionsFixed in
org.springframework » spring
>= 5.3.0, < 5.3.26>= 6.0.0, < 6.0.7
5.3.26, 6.0.7
org.springframework » spring-webmvc
>= 5.3.0, < 5.3.26>= 6.0.0, < 6.0.7
5.3.26, 6.0.7

Blast radius

2affected artifacts
59affected versions
9,267dependent artifacts (est.)
274,820dependent versions

51% of the dependent artifacts (4,778) still pull an affected version in their latest release.

DepthDependent versions
Direct
53,384
2 hops
83,289
3 hops
81,341
4 hops
40,259
5 hops
12,744
6 hops
3,803

Most used dependents

Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.