GitHub Advisoryadvisory · PyPI
GHSA-8x94-hmjh-97hq Django vulnerable to Reflected File Download attack
HIGH
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
- https://nvd.nist.gov/vuln/detail/CVE-2022-36359 advisory
- https://github.com/django/django/commit/b3e4494d759202a3b6bf247fd34455bf13be5b80 web
- https://github.com/django/django/commit/b7d9529cbe0af4adabb6ea5d01ed8dcce3668fb3 web
- https://github.com/django/django/commit/bd062445cffd3f6cc6dcd20d13e2abed818fa173 web
- https://docs.djangoproject.com/en/4.0/releases/security web
- https://github.com/django/django package
- https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2022-245.yaml web
- https://groups.google.com/g/django-announce/c/8cz--gvaJr4 web
- https://lists.fedoraproject.org/archives/list/[email protected]/message/HWY6DQWRVBALV73BPUVBXC3QIYUM24IK web
- https://lists.fedoraproject.org/archives/list/[email protected]/message/LTZVAKU5ALQWOKFTPISE257VCVIYGFQI web
- https://security.netapp.com/advisory/ntap-20220915-0008 web
- https://www.debian.org/security/2022/dsa-5254 web
- https://www.djangoproject.com/weblog/2022/aug/03/security-releases web
- http://www.openwall.com/lists/oss-security/2022/08/03/1 web