cve.bz

CVE-2022-36359 Download of Code Without Integrity Check

8.8 highEPSS 0.9%Fix available

High (8.8). EPSS 0.9% estimated probability of exploitation activity in the next 30 days. Fixed in django 3.2.15, 4.0.7.

On this page
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.

Severity

CVSS 3.1

8.8 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
0.9% (unchanged from 0.9% a week ago; 0.9% 30 days ago) estimated probability of exploitation activity in the next 30 days; 62nd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-494 Download of Code Without Integrity Check
OWASP Top 10
A08:2025 Software or Data Integrity Failures
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-36359 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-36359?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-36359?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-36359 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
djangoproject:djangofrom 3.2 before 3.2.15
djangoproject:djangofrom 4.0 before 4.0.7
debian:debian_linux11.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-8x94-hmjh-97hqPyPIdjango<3.2.153.2.15
GHSA-8x94-hmjh-97hqPyPIdjango>=4.0 <4.0.74.0.7
PYSEC-2022-245PyPIdjango>=3.2 <3.2.15
>=4.0 <4.0.7
3.2.15, 4.0.7

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11python-django2:2.2.28-1~deb11u1DSA-5254-1
Debian12, 13, 14python-django3:3.2.15-1DEBIAN-CVE-2022-36359
Ubuntu20.04:LTSpython-django2:2.2.12-1ubuntu0.13UBUNTU-CVE-2022-36359 USN-5549-1
Ubuntu22.04:LTSpython-django2:3.2.12-2ubuntu1.2UBUNTU-CVE-2022-36359 USN-5549-1
SUSEPackage Hub 15 SP3python-Django2.2.28-bp153.2.3.1openSUSE-SU-2023:0005-1
SUSEPackage Hub 15 SP4python-Django2.2.28-bp154.2.3.3openSUSE-SU-2022:10103-1
openSUSELeap 15.3python-Django2.2.28-bp153.2.3.1openSUSE-SU-2023:0005-1
openSUSELeap 15.4python-Django2.2.28-bp154.2.3.3openSUSE-SU-2022:10103-1
openSUSETumbleweedpython-Django4.1-1.1openSUSE-SU-2024:12236-1
openSUSETumbleweedpython-Django5.1.5-1.1openSUSE-SU-2025:14662-1
openSUSETumbleweedpython-Django44.2.14-1.1openSUSE-SU-2024:14208-1
openSUSETumbleweedpython-Django44.2.30-4.1openSUSE-SU-2026:11235-1
openSUSETumbleweedpython-Django55.2.16-1.1openSUSE-SU-2026:11270-1
openSUSETumbleweedpython-Django66.0-1.1openSUSE-SU-2026:10005-1
Alpinev3.16py3-django3.2.16-r0ALPINE-CVE-2022-36359
Alpinev3.17, v3.18, v3.19 and 5 morepy3-django3.2.15-r0ALPINE-CVE-2022-36359

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE · Alpine.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-494 (12).

References

Check your stackJSON