Reflect File Download (RFD) Affecting io.ktor:ktor-utils package, versions [,2.1.0)


0.0
medium

Snyk CVSS

    Attack Complexity High
    User Interaction Required
    Scope Changed

    Threat Intelligence

    EPSS 0.08% (33rd percentile)
Expand this section
NVD
6.1 medium

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-JAVA-IOKTOR-2980134
  • published 12 Aug 2022
  • disclosed 12 Aug 2022
  • credit Motoyasu Saburi

How to fix?

Upgrade io.ktor:ktor-utils to version 2.1.0 or higher.

Overview

Affected versions of this package are vulnerable to Reflect File Download (RFD) in the io/ktor/http/ContentDisposition and io/ktor/http/HeaderValue classes in ktor-http.api, which fail to encode the Content-Disposition filename parameter, allowing untrusted files to be downloaded.