CVE-2022-36359 json
Django vulnerable to Reflected File Download attack
published 2022-08-03 4 y ago modified 2026-09-08 2 mo ago also BIT-django-2022-36359 , EUVD-2022-0092 , GHSA-8x94-hmjh-97hq , PYSEC-2022-245
- cvss
- 8.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.9%
- EPSS 0.9% chance of exploitation in 30 days, percentile 61%
- public exploits
- 0
- none known
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. 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.
Patch / fix
- pypi django 3.2.15, 4.0.7
- bitnami django 3.2.15, 4.0.7
- djangoproject django 3.2.15, 4.0.7
- python-django Debian 14, Debian 13, Debian 12 3:3.2.15-1
debian advisories DEBIAN-CVE-2022-36359
- python-django Ubuntu 20.04 LTS 2:2.2.12-1ubuntu0.13
- python-django Ubuntu 22.04 LTS 2:3.2.12-2ubuntu1.2
ubuntu advisories UBUNTU-CVE-2022-36359
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- python-Django5 openSUSE Tumbleweed 5.2.16-1.1
- python-Django4 openSUSE Tumbleweed 4.2.30-4.1
- python-Django6 openSUSE Tumbleweed 6.0-1.1
- python-Django openSUSE Tumbleweed 5.1.5-1.1
- python-Django4 openSUSE Tumbleweed 4.2.14-1.1
- python-Django openSUSE Tumbleweed 4.1-1.1
- python-Django Package Hub 15 SP3, openSUSE Leap 15.3 2.2.28-bp153.2.3.1
- python-Django Package Hub 15 SP4, openSUSE Leap 15.4 2.2.28-bp154.2.3.3
opensuse advisories openSUSE-SU-2026:11270-1openSUSE-SU-2026:11235-1openSUSE-SU-2026:10005-1openSUSE-SU-2025:14662-1openSUSE-SU-2024:14208-1openSUSE-SU-2024:12236-1
- py3-django Alpine 3.16 3.2.16-r0
- py3-django Alpine 3.24, Alpine 3.23, Alpine 3.22 +5 more 3.2.15-r0
alpine advisories ALPINE-CVE-2022-36359
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- python-django Arch Linux 4.0.7-1
arch linux advisories AVG-2810
Exploit prediction
0.94% chance of exploitation in the next 30 days, higher than 61% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| GitHub | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| OSV | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | django | <3.2.15 >=4.0, <4.0.7 >=3.2, <3.2.15 |
3.2.15 4.0.7 |
| bitnami | django | >=3.2.0, <3.2.15 >=4.0.0, <4.0.7 |
3.2.15 4.0.7 |
Classification
- Weakness
-
- CWE-494 Download of Code Without Integrity Check
- Technology feeds
References
-
docs.djangoproject.com
/en/4.0/releases/security/
not-applicable, patch, vendor-advisory, advisory, web
-
openwall.com
/lists/oss-security/2022/08/03/1
mailing-list, web, patch, third-party-advisory, advisory
-
djangoproject.com
/weblog/2022/aug/03/security-releases/
patch, vendor-advisory, advisory, article
-
github.com
/django/django/commit/b3e4494d759202a3b6bf247fd34455bf13be5b80
web
-
github.com
/django/django/commit/b7d9529cbe0af4adabb6ea5d01ed8dcce3668fb3
web
-
github.com
/django/django/commit/bd062445cffd3f6cc6dcd20d13e2abed818fa173
web
-
debian.org
/security/2022/dsa-5254
vendor-advisory, web, third-party-advisory, advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/HWY6DQWRVBALV73BPUVBXC3QIYUM24IK/
vendor-advisory, web
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/LTZVAKU5ALQWOKFTPISE257VCVIYGFQI/
vendor-advisory, web
-
groups.google.com
/g/django-announce/c/8cz--gvaJr4
web, release-notes, third-party-advisory, advisory
-
security.netapp.com
/advisory/ntap-20220915-0008/
third-party-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-36359
advisory, web
-
docs.djangoproject.com
/en/4.0/releases/security
web
-
github.com
/django/django
package
-
github.com
/pypa/advisory-database/tree/main/vulns/django/PYSEC-2022-245.yaml
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/HWY6DQWRVBALV73BPUVBXC3QIYUM24IK
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/LTZVAKU5ALQWOKFTPISE257VCVIYGFQI
web
-
security.netapp.com
/advisory/ntap-20220915-0008
web
-
djangoproject.com
/weblog/2022/aug/03/security-releases
web
-
github.com
/advisories/GHSA-8x94-hmjh-97hq
advisory
Sources
- CVE List CVE-2022-36359
- GitHub Advisory GHSA-8x94-hmjh-97hq
- NVD CVE-2022-36359
- OSV BIT-django-2022-36359
- OSV PYSEC-2022-245
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.