Name | CVE-2022-36359 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DSA-5254-1 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
python-django (PTS) | jessie, jessie (lts) | 1.7.11-1+deb8u17 | fixed |
| stretch (security) | 1:1.10.7-2+deb9u17 | fixed |
| stretch (lts), stretch | 1:1.10.7-2+deb9u23 | fixed |
| buster, buster (lts) | 1:1.11.29-1+deb10u12 | fixed |
| buster (security) | 1:1.11.29-1+deb10u11 | fixed |
| bullseye (security), bullseye | 2:2.2.28-1~deb11u2 | fixed |
| bookworm (security), bookworm | 3:3.2.19-1+deb12u1 | fixed |
| sid, trixie | 3:4.2.16-1 | fixed |
The information below is based on the following data on fixed versions.
Notes
[buster] - python-django <not-affected> (Vulnerable code introduced in 2.1)
https://www.openwall.com/lists/oss-security/2022/08/03/1
https://github.com/django/django/commit/bd062445cffd3f6cc6dcd20d13e2abed818fa173 (main)
https://github.com/django/django/commit/b3e4494d759202a3b6bf247fd34455bf13be5b80 (3.2.15)
Introduced by: https://github.com/django/django/commit/a177f854c34718e473bcd0a2dc6c4fd935c8e327
[stretch] - python-django <not-affected> (Vulnerable code introduced in 2.1)
[jessie] - python-django <not-affected> (Vulnerable code introduced in 2.1)