GitHub Advisoryadvisory · Maven

GHSA-8wx2-9q48-vm9r RFD attack via Content-Disposition header sourced from request input by Spring MVC or Spring WebFlux Application

HIGH Published 2020-01-21 Modified 2024-03-14 Official page ↗
Aliases
CVE-2020-5398
Ecosystem
Maven
Packages
org.springframework:spring-webmvc, org.springframework:spring-webflux
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Weaknesses
CWE-494, CWE-79
Reviewed
2020-01-21

Affected packages

• Maven org.springframework:spring-webmvc: >= 5.2.0.RELEASE, < 5.2.3.RELEASE → fixed in 5.2.3.RELEASE • Maven org.springframework:spring-webmvc: >= 5.1.0.RELEASE, < 5.1.13.RELEASE → fixed in 5.1.13.RELEASE • Maven org.springframework:spring-webmvc: >= 5.0.0.RELEASE, < 5.0.16.RELEASE → fixed in 5.0.16.RELEASE • Maven org.springframework:spring-webflux: >= 5.2.0.RELEASE, < 5.2.3.RELEASE → fixed in 5.2.3.RELEASE • Maven org.springframework:spring-webflux: >= 5.1.0.RELEASE, < 5.1.13.RELEASE → fixed in 5.1.13.RELEASE • Maven org.springframework:spring-webflux: >= 5.0.0.RELEASE, < 5.0.16.RELEASE → fixed in 5.0.16.RELEASE

Description

In Spring Framework, versions 5.2.x prior to 5.2.3, versions 5.1.x prior to 5.1.13, and versions 5.0.x prior to 5.0.16, an application is vulnerable to a reflected file download (RFD) attack when it sets a "Content-Disposition" header in the response where the filename attribute is derived from user supplied input.

Related

Alias · CVE (1)

  • CVE-2020-5398 In Spring Framework, versions 5.2.x prior to 5.2.3, versions 5.1.x prior to 5.1.13, and versions 5.0.x prior to 5.0.16, an application is… vulnerability

Weakness · CWE (2)

  • CWE-494 Download of Code Without Integrity Check weakness
  • CWE-79 Improper Neutralization of Input During Web Page Generation weakness

References