Skip to content
OpenAdvisories
High · 8.0 Public exploit CVE-2020-5398 EUVD-2020-0259GHSA-8wx2-9q48-vm9r

RFD Attack via "Content-Disposition" Header Sourced from Request Input by Spring MVC or Spring WebFlux Application

Published Jan 16, 2020 · Updated Oct 8, 2026 · Assigned by pivotal

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 products

VendorProductAffectedFixed
Spring Spring Framework 5.0 – < v5.0.16.RELEASE, 5.1 – < v5.1.13.RELEASE, 5.2 – < v5.2.3.RELEASE v5.0.16.RELEASE

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu 26.10 libspring-java No fix yet —
Ubuntu 26.04 LTS libspring-java No fix yet —
Ubuntu 25.10 libspring-java No fix yet —
Show 6 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 24.04 LTS libspring-java No fix yet —
Ubuntu Pro 22.04 LTS libspring-java No fix yet —
Ubuntu Pro 20.04 LTS libspring-java No fix yet —
Ubuntu Pro 18.04 LTS libspring-java No fix yet —
Ubuntu Pro 16.04 LTS libspring-java No fix yet —
Ubuntu Pro 14.04 LTS libspring-java No fix yet —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.springframework:spring-webflux >= 5.2.0.RELEASE, < 5.2.3.RELEASE 5.2.3.RELEASE GHSA-8wx2-9q48-vm9r
Maven org.springframework:spring-webflux >= 5.1.0.RELEASE, < 5.1.13.RELEASE 5.1.13.RELEASE GHSA-8wx2-9q48-vm9r
Maven org.springframework:spring-webflux >= 5.0.0.RELEASE, < 5.0.16.RELEASE 5.0.16.RELEASE GHSA-8wx2-9q48-vm9r
Maven org.springframework:spring-webmvc >= 5.2.0.RELEASE, < 5.2.3.RELEASE 5.2.3.RELEASE GHSA-8wx2-9q48-vm9r
Maven org.springframework:spring-webmvc >= 5.1.0.RELEASE, < 5.1.13.RELEASE 5.1.13.RELEASE GHSA-8wx2-9q48-vm9r
Maven org.springframework:spring-webmvc >= 5.0.0.RELEASE, < 5.0.16.RELEASE 5.0.16.RELEASE GHSA-8wx2-9q48-vm9r

Advisories 1

References