CVE-2020-5398: RFD attack via Content-Disposition header sourced from request input by Spring MVC or Spring WebFlux Application

CVE-2020-5398 · Severity: low · CVSS 3.1 · Published 2020-01-21

RFD attack via Content-Disposition header sourced from request input by Spring MVC or Spring WebFlux Application

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

Quick answers

Is CVE-2020-5398 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2020-5398 being exploited in the wild.
How severe is CVE-2020-5398?
Low severity, with a CVSS score of 3.1, published 21 January 2020.
Which products and versions are affected?
org.springframework:spring-webflux (Maven) ECOSYSTEM:introduced=5.2.0.RELEASE,fixed=5.2.3.RELEASE; org.springframework:spring-webmvc (Maven) ECOSYSTEM:introduced=5.2.0.RELEASE,fixed=5.2.3.RELEASE.
Is there a fix for CVE-2020-5398?
Yes. org.springframework:spring-webflux (Maven): upgrade to 5.2.3.RELEASE or later; org.springframework:spring-webmvc (Maven): upgrade to 5.2.3.RELEASE or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2020-5398?
Check whether you run org.springframework:spring-webflux (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-webflux (Maven): upgrade to 5.2.3.RELEASE or later
    # set org.springframework:spring-webflux to 5.2.3.RELEASE in your pom.xml or build.gradle
  • org.springframework:spring-webmvc (Maven): upgrade to 5.2.3.RELEASE or later
    # set org.springframework:spring-webmvc to 5.2.3.RELEASE in your pom.xml or build.gradle

Affected products

  • org.springframework:spring-webflux (Maven) ECOSYSTEM:introduced=5.2.0.RELEASE,fixed=5.2.3.RELEASE
  • org.springframework:spring-webmvc (Maven) ECOSYSTEM:introduced=5.2.0.RELEASE,fixed=5.2.3.RELEASE

Identifiers

  • CVE-2020-5398
  • GHSA-8wx2-9q48-vm9r

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