GHSA-7phw-cxx7-q9vq

Spring Framework is vulnerable to security bypass via mvcRequestMatcher pattern mismatch

At a glance

Published
Updated
CVE
CVE-2023-20860
CVSS_V3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

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

PackageVersions
Maven · org.springframework:springintroduced 6.0.0, fixed 6.0.7
Maven · org.springframework:springintroduced 5.3.0, fixed 5.3.26
Maven · org.springframework:spring-webmvcintroduced 6.0.0, fixed 6.0.7
Maven · org.springframework:spring-webmvcintroduced 5.3.0, fixed 5.3.26

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database