GHSA-8wx2-9q48-vm9r

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

At a glance

Published
Updated
CVE
CVE-2020-5398
CVSS_V3
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H

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.

Affected packages

PackageVersions
Maven · org.springframework:spring-webmvcintroduced 5.2.0.RELEASE, fixed 5.2.3.RELEASE
Maven · org.springframework:spring-webmvcintroduced 5.1.0.RELEASE, fixed 5.1.13.RELEASE
Maven · org.springframework:spring-webmvcintroduced 5.0.0.RELEASE, fixed 5.0.16.RELEASE
Maven · org.springframework:spring-webfluxintroduced 5.2.0.RELEASE, fixed 5.2.3.RELEASE
Maven · org.springframework:spring-webfluxintroduced 5.1.0.RELEASE, fixed 5.1.13.RELEASE
Maven · org.springframework:spring-webfluxintroduced 5.0.0.RELEASE, fixed 5.0.16.RELEASE

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database