Skip to content
Fencer Intel
high 8.8

CVE-2022-36359 json

Django vulnerable to Reflected File Download attack

published 4y ago modified 2mo 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

Is CVE-2022-36359 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Exploit prediction

0.94% chance of exploitation in the next 30 days, higher than 61% of all scored CVEs (FIRST EPSS, 2026-11-09).

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

Sources

Fencer Intel 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.