CVE-2023-20860
JSON

7.5high

Spring Framework is vulnerable to security bypass via mvcRequestMatcher pattern mismatch

Severity
7.5high CVSS:3.1 by CISA-ADP
Exploit likelihood
3.51% (higher than 89% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
vmware
Also known as
GHSA-7phw-cxx7-q9vq

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

Product or packageVersionsReported by
Spring FrameworkSpring Framework (versions 6.0.0 to 6.0.6 and 5.3.0 to 5.3.25)CVE List
org.springframework:spring (Maven)from 6.0.0 before 6.0.7, from 5.3.0 before 5.3.26GitHub Advisory Database
org.springframework:spring-webmvc (Maven)from 6.0.0 before 6.0.7, from 5.3.0 before 5.3.26GitHub Advisory Database
vmware spring_frameworkfrom 5.3.0 before 5.3.26, from 6.0.0 before 6.0.7NVD

All scores

CISA-ADP7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
GitHub9.1critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Classification

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2023-20860 changed 2025-02-19CVE Terms of Use
GitHub Advisory DatabaseGHSA-7phw-cxx7-q9vq changed 2025-09-23CC-BY-4.0
NVDCVE-2023-20860 changed 2026-06-17Public domain