CVE-2022-36359
HIGH 8.8CVSS 3.1Django vulnerable to Reflected File Download attack
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.
- Published
- 3 Aug 2022
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-494
- Also known as
- BIT-django-2022-36359GHSA-8x94-hmjh-97hqPYSEC-2022-245
- Sources
- NVDJSONOSV GHSA-8x94-hmjh-97hqJSONOSV PYSEC-2022-245JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | djangoproject | djangocpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* |
>= 3.2, < 3.2.15 | 3.2.15 |
| NVD | djangoproject | djangocpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* |
>= 4.0, < 4.0.7 | 4.0.7 |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* |
= 11.0 | |
| OSV | PyPI | django | < 3.2.15 | 3.2.15 |
| OSV | PyPI | django | >= 4.0, < 4.0.7 | 4.0.7 |
| OSV | PyPI | django | >= 3.2, < 3.2.15; >= 4.0, < 4.0.7 | 3.2.15, 4.0.7 |
References
- http://www.openwall.com/lists/oss-security/2022/08/03/1 · Mailing List, Patch, Third Party Advisory, WEB
- https://docs.djangoproject.com/en/4.0/releases/security/ · Not Applicable, Patch, Vendor Advisory, WEB
- https://groups.google.com/g/django-announce/c/8cz--gvaJr4 · Release Notes, Third Party Advisory, WEB
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HWY6DQWRVBALV73BPUVBXC3QIYUM24IK/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LTZVAKU5ALQWOKFTPISE257VCVIYGFQI/
- https://security.netapp.com/advisory/ntap-20220915-0008/ · Third Party Advisory, WEB
- https://www.debian.org/security/2022/dsa-5254 · Third Party Advisory, WEB
- https://www.djangoproject.com/weblog/2022/aug/03/security-releases/ · Patch, Vendor Advisory, WEB, ARTICLE
- 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://github.com/django/django · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2022-245.yaml · WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/HWY6DQWRVBALV73BPUVBXC3QIYUM24IK · WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LTZVAKU5ALQWOKFTPISE257VCVIYGFQI · WEB
- https://github.com/advisories/GHSA-8x94-hmjh-97hq · ADVISORY
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 3 Aug 2022)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 3 Aug 2022)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 11 Aug 2022)