CVE-2022-36359
HIGH8.8EPSS 1.4%Django vulnerable to Reflected File Download attack
Published: 8/11/2022Modified: 4/28/2026
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.
Affected packages (4)
- Bitnami/django>= 3.2.0, < 3.2.15, >= 4.0.0, < 4.0.7
- Debian/python-djangofrom 0, < 2:2.2.28-1~deb11u1
- PyPI/djangofrom 0, < 3.2.15
- PyPI/django>= 3.2, < 3.2.15, >= 4.0, < 4.0.7
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
References (21)
- ADVISORYhttps://github.com/advisories/GHSA-8x94-hmjh-97hq
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2022-36359
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2022-36359
- ADVISORYhttps://www.djangoproject.com/weblog/2022/aug/03/security-releases/
- PATCHhttps://github.com/django/django
- WEBhttps://docs.djangoproject.com/en/4.0/releases/security
- WEBhttps://docs.djangoproject.com/en/4.0/releases/security/
- WEBhttps://github.com/django/django/commit/b3e4494d759202a3b6bf247fd34455bf13be5b80
- WEBhttps://github.com/django/django/commit/b7d9529cbe0af4adabb6ea5d01ed8dcce3668fb3
- WEBhttps://github.com/django/django/commit/bd062445cffd3f6cc6dcd20d13e2abed818fa173
- WEBhttps://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2022-245.yaml
- WEBhttps://groups.google.com/g/django-announce/c/8cz--gvaJr4
- WEBhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HWY6DQWRVBALV73BPUVBXC3QIYUM24IK/
- WEBhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LTZVAKU5ALQWOKFTPISE257VCVIYGFQI/
- WEBhttps://lists.fedoraproject.org/archives/list/[email protected]/message/HWY6DQWRVBALV73BPUVBXC3QIYUM24IK
- WEBhttps://lists.fedoraproject.org/archives/list/[email protected]/message/LTZVAKU5ALQWOKFTPISE257VCVIYGFQI
- WEBhttps://security.netapp.com/advisory/ntap-20220915-0008
- WEBhttps://security.netapp.com/advisory/ntap-20220915-0008/
- WEBhttps://www.debian.org/security/2022/dsa-5254
- WEBhttps://www.djangoproject.com/weblog/2022/aug/03/security-releases
- WEBhttp://www.openwall.com/lists/oss-security/2022/08/03/1