ADVISORIES

GitHub Advisory Database

GHSA-8wx2-9q48-vm9r

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

Details

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

EcosystemPackageAffected versions
Mavenorg.springframework:spring-webmvc
From 5.2.0.RELEASE before 5.2.3.RELEASE (fixed in 5.2.3.RELEASE)
Mavenorg.springframework:spring-webmvc
From 5.1.0.RELEASE before 5.1.13.RELEASE (fixed in 5.1.13.RELEASE)
Mavenorg.springframework:spring-webmvc
From 5.0.0.RELEASE before 5.0.16.RELEASE (fixed in 5.0.16.RELEASE)
Mavenorg.springframework:spring-webflux
From 5.2.0.RELEASE before 5.2.3.RELEASE (fixed in 5.2.3.RELEASE)
Mavenorg.springframework:spring-webflux
From 5.1.0.RELEASE before 5.1.13.RELEASE (fixed in 5.1.13.RELEASE)
Mavenorg.springframework:spring-webflux
From 5.0.0.RELEASE before 5.0.16.RELEASE (fixed in 5.0.16.RELEASE)

References