CVE-2022-36359
Aliases:GHSA-8x94-hmjh-97hqBIT-django-2022-36359PYSEC-2022-245
Advisory lineage Upstream: 0 Downstream: 11
Modified
Published: 03 Aug 2022, 00:00
Last modified:13 Feb 2025, 16:32
Vulnerability Summary
Overall Risk (default)
medium
35/100 CVSS Score
8.8 HIGH
v3.1 (nvd)
EPSS Score
1.13% LOW
1% probability +0.55%
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected
Timeline
03 Aug 2022, 00:00
Published
Vulnerability first disclosed
13 Feb 2025, 16:32
Last Modified
Vulnerability information updated
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.
CVSS Metrics
- v3.1•HIGH•Score: 8.8CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS Trends
Current EPSS score: 1.13%• Percentile: 79%
Techniques & Countermeasures
- CWE-494•Download of Code Without Integrity Check
The product downloads source code or an executable from a remote location and executes the code without sufficiently verifying the origin and integrity of the code.
Affected Systems
- debian•debian_linux
11.0
- djangoproject•django
≥ 3.2, < 3.2.15 | ≥ 4.0, < 4.0.7
- PyPI•django
< 3.2.15 | ≥ 4.0, < 4.0.7
References (20)
- https://docs.djangoproject.com/en/4.0/releases/security/
- http://www.openwall.com/lists/oss-security/2022/08/03/1
- https://groups.google.com/g/django-announce/c/8cz--gvaJr4
- https://www.djangoproject.com/weblog/2022/aug/03/security-releases/
- https://security.netapp.com/advisory/ntap-20220915-0008/
- https://www.debian.org/security/2022/dsa-5254
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HWY6DQWRVBALV73BPUVBXC3QIYUM24IK/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LTZVAKU5ALQWOKFTPISE257VCVIYGFQI/
- https://nvd.nist.gov/vuln/detail/CVE-2022-36359
- https://github.com/django/django/commit/b3e4494d759202a3b6bf247fd34455bf13be5b80
- https://github.com/django/django/commit/b7d9529cbe0af4adabb6ea5d01ed8dcce3668fb3
- https://github.com/django/django/commit/bd062445cffd3f6cc6dcd20d13e2abed818fa173
- https://docs.djangoproject.com/en/4.0/releases/security
- https://github.com/django/django
- https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2022-245.yaml
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/HWY6DQWRVBALV73BPUVBXC3QIYUM24IK
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LTZVAKU5ALQWOKFTPISE257VCVIYGFQI
- https://security.netapp.com/advisory/ntap-20220915-0008
- https://www.djangoproject.com/weblog/2022/aug/03/security-releases
- https://github.com/advisories/GHSA-8x94-hmjh-97hq