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


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.08% (35th percentile)

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 IDSNYK-JAVA-IOKTOR-2980134
  • published12 Aug 2022
  • disclosed12 Aug 2022
  • creditMotoyasu Saburi

Introduced: 12 Aug 2022

CVE-2022-38179  (opens in a new tab)
CWE-184  (opens in a new tab)
First added by Snyk

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.

CVSS Scores

version 3.1