Shellfeed logo Shellfeed

CVE-2022-36359 · HIGH (CVSS 8.8)

Summary: An issue was discovered in the HTTP FileResponse class in Django 3.2 before 3.2.15 and 4.0 before 4.0.7.

Details

An issue was discovered in the HTTP FileResponse class in Django 3.2 before 3.2.15 and 4.0 before 4.0.7. An application is vulnerable to a reflected file download (RFD) attack that sets the Content-Disposition header of a FileResponse when the filename is derived from user-supplied input.

Severity

HIGH (CVSS 8.8) — vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected packages

  • PyPI django [0 – 3.2.15]
  • PyPI django [4.0 – 4.0.7]
  • GIT github.com/django/django [b6475d7d7940f3ce575e0b0f2d83e517f899b4cf – 653a7bd7b7c2f7c3ffe6b22be53da1472c491474] [ef62a3a68c9d558486145a42c0d71ea9a76add9e – e9e9729846dc24dc73264341094ed51f2c8ac3dc]

References