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

CVE-2023-20860 · Severity: low · CVSS 3.1 · Published 2023-03-28

Spring Framework is vulnerable to security bypass via mvcRequestMatcher pattern mismatch

Technologies: org.springframework:spring (Maven), org.springframework:spring-webmvc (Maven). Vendors: Maven.

Quick answers

Is CVE-2023-20860 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2023-20860 being exploited in the wild.
How severe is CVE-2023-20860?
Low severity, with a CVSS score of 3.1, published 28 March 2023.
Which products and versions are affected?
org.springframework:spring (Maven) ECOSYSTEM:introduced=6.0.0,fixed=6.0.7; org.springframework:spring-webmvc (Maven) ECOSYSTEM:introduced=6.0.0,fixed=6.0.7.
Is there a fix for CVE-2023-20860?
Yes. org.springframework:spring (Maven): upgrade to 6.0.7 or later; org.springframework:spring-webmvc (Maven): upgrade to 6.0.7 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2023-20860?
Check whether you run org.springframework:spring (Maven) or org.springframework:spring-webmvc (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • org.springframework:spring (Maven): upgrade to 6.0.7 or later
    # set org.springframework:spring to 6.0.7 in your pom.xml or build.gradle
  • org.springframework:spring-webmvc (Maven): upgrade to 6.0.7 or later
    # set org.springframework:spring-webmvc to 6.0.7 in your pom.xml or build.gradle

Affected products

  • org.springframework:spring (Maven) ECOSYSTEM:introduced=6.0.0,fixed=6.0.7
  • org.springframework:spring-webmvc (Maven) ECOSYSTEM:introduced=6.0.0,fixed=6.0.7

Identifiers

  • CVE-2023-20860
  • GHSA-7phw-cxx7-q9vq

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.