What’s Vulnerable › Vulnerabilities

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

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

How to fix

Upgrade to a fixed version: Spring Framework 5.0.16, 5.1.13, 5.2.3; Spring Framework v5.0.16.RELEASE, v5.1.13.RELEASE, v5.2.3.RELEASE. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2020-5398 or the next vulnerability affects your stack