GitHub Advisoryadvisory · PyPI

GHSA-8x94-hmjh-97hq Django vulnerable to Reflected File Download attack

HIGH Published 2022-08-11 Modified 2024-12-18 Official page ↗
Aliases
CVE-2022-36359
Ecosystem
PyPI
Packages
Django
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weaknesses
CWE-494
Reviewed
2022-08-11

Affected packages

• PyPI Django: < 3.2.15 → fixed in 3.2.15 • PyPI Django: >= 4.0, < 4.0.7 → fixed in 4.0.7

Description

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.

Related

Alias · CVE (1)

  • CVE-2022-36359 An issue was discovered in the HTTP FileResponse class in Django 3.2 before 3.2.15 and 4.0 before 4.0.7. vulnerability

Weakness · CWE (1)

  • CWE-494 Download of Code Without Integrity Check weakness

References