Feed
8.8HIGH
CVE-2022-36359Django vulnerable to Reflected File Download attack
A high-severity vulnerability reachable over the network, needing no privileges and user interaction. EPSS estimates a 0.8% chance of exploitation in the next 30 days. A fixed version is named.
- Exploited in the wild
- Not in KEV
- EPSS
- 0.8%
- percentile 53%
- Fix
- Named by a source
- CVE published 3 Aug 2022
Reference
None of the "Needs attention" rules apply right now.
EPSS 0.8% (+1) · Network attack vector (+10) · No privileges required (+5) · CVSS 8.8: at least medium
Immediate actions
- django (PyPI): upgrade to 3.2.15 / 4.0.7 or later on your release line.
- Commit / pull request: https://github.com/django/django/commit/b3e4494d759202a3b6bf247fd34455bf13be5b80
- Commit / pull request: https://github.com/django/django/commit/b7d9529cbe0af4adabb6ea5d01ed8dcce3668fb3
- Commit / pull request: https://github.com/django/django/commit/bd062445cffd3f6cc6dcd20d13e2abed818fa173
Who should check
django (PyPI) pkg:pypi/django
- Affected< 3.2.15Fixed in3.2.15OSV (GHSA-8x94-hmjh-97hq)
- Affected>= 4.0, < 4.0.7Fixed in4.0.7OSV (PYSEC-2022-245)
- Affected>= 3.2, < 3.2.15Fixed in3.2.15OSV (PYSEC-2022-245)
Confirmed facts
- CVSS
- 8.8 HIGH (version 3.1)
- Score from
- GitHub Advisory Database (GHSA-8x94-hmjh-97hq)
- Attack vector
- network
- Attack complexity
- low
- Privileges required
- none
- User interaction
- required
- Weakness
- CWE-494
Unknowns
- We show one CVSS score. Other sources may score this CVE differently.
Advisory text
Quoted from the source advisory (untrusted)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.
Update history
No events recorded. Our history starts on 1 Jan 2025.
References
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2022-36359
- commit / pull requesthttps://github.com/django/django/commit/b3e4494d759202a3b6bf247fd34455bf13be5b80
- commit / pull requesthttps://github.com/django/django/commit/b7d9529cbe0af4adabb6ea5d01ed8dcce3668fb3
- commit / pull requesthttps://github.com/django/django/commit/bd062445cffd3f6cc6dcd20d13e2abed818fa173
- otherhttps://docs.djangoproject.com/en/4.0/releases/security
- otherhttps://github.com/django/django
- otherhttps://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2022-245.yaml
- otherhttps://groups.google.com/g/django-announce/c/8cz--gvaJr4
- otherhttps://lists.fedoraproject.org/archives/list/[email protected]/message/HWY6DQWRVBALV73BPUVBXC3QIYUM24IK
- otherhttps://lists.fedoraproject.org/archives/list/[email protected]/message/LTZVAKU5ALQWOKFTPISE257VCVIYGFQI
- otherhttps://security.netapp.com/advisory/ntap-20220915-0008
- otherhttps://www.debian.org/security/2022/dsa-5254
- otherhttps://www.djangoproject.com/weblog/2022/aug/03/security-releases
- otherhttp://www.openwall.com/lists/oss-security/2022/08/03/1
- otherhttps://docs.djangoproject.com/en/4.0/releases/security/
- otherhttps://www.djangoproject.com/weblog/2022/aug/03/security-releases/
- advisoryhttps://github.com/advisories/GHSA-8x94-hmjh-97hq
Sources
- EPSS by FIRST.org, Free to use, attribution requested. Scores generated by Empirical Security.
- GHSA-8x94-hmjh-97hq (GitHub Advisory Database), CC BY 4.0.
- PYSEC-2022-245 (PyPA Advisory Database), CC BY 4.0.
- OSV.dev, Per database.
This page is our own presentation: records are shortened, normalised and merged. Licences
Last checked: kev 12 min ago · osv 12 min ago · nvd 72 min ago · epss 11 min ago · JSON · ask via MCP: explain_vulnerability
Also known as BIT-django-2022-36359, GHSA-8x94-hmjh-97hq, PYSEC-2022-245