HIGH 7.5

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 Maven artifacts (2)

ArtifactAffected versionsFixed in
org.springframework » spring-webflux
>= 5.0.0.RELEASE, < 5.0.16.RELEASE>= 5.1.0.RELEASE, < 5.1.13.RELEASE>= 5.2.0.RELEASE, < 5.2.3.RELEASE
5.0.16.RELEASE, 5.1.13.RELEASE, 5.2.3.RELEASE
org.springframework » spring-webmvc
>= 5.0.0.RELEASE, < 5.0.16.RELEASE>= 5.1.0.RELEASE, < 5.1.13.RELEASE>= 5.2.0.RELEASE, < 5.2.3.RELEASE
5.0.16.RELEASE, 5.1.13.RELEASE, 5.2.3.RELEASE

Blast radius

2affected artifacts
65affected versions
8,223dependent artifacts (est.)
252,373dependent versions

46% of the dependent artifacts (3,817) still pull an affected version in their latest release.

DepthDependent versions
Direct
15,288
2 hops
59,648
3 hops
99,369
4 hops
50,372
5 hops
17,477
6 hops
10,219

Most used dependents

Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.

References