Vulnerability · Published Aug 3, 2022 · Assigned by mitre
CVE-2022-36359
High 8.8
In plain English
A high-severity security flaw in the py3-django package (Alpine). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.9% (higher than 61% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)8.8High
Exploit odds (30 days)0.9%top 39.1% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | py3-django | 3.2.15-r0 | ALPINE-CVE-2022-36359 |
| Alpine:v3.21 | py3-django | 3.2.15-r0 | ALPINE-CVE-2022-36359 |
| Alpine:v3.22 | py3-django | 3.2.15-r0 | ALPINE-CVE-2022-36359 |
| Alpine:v3.23 | py3-django | 3.2.15-r0 | ALPINE-CVE-2022-36359 |
| Alpine:v3.24 | py3-django | 3.2.15-r0 | ALPINE-CVE-2022-36359 |
| Debian:12 | python-django | 3:3.2.15-1 | DEBIAN-CVE-2022-36359 |
| Debian:13 | python-django | 3:3.2.15-1 | DEBIAN-CVE-2022-36359 |
| Debian:14 | python-django | 3:3.2.15-1 | DEBIAN-CVE-2022-36359 |
| PyPI | django | 4.0.7 | GHSA-8x94-hmjh-97hq |
| PyPI | django | 3.2.15, 4.0.7 | PYSEC-2022-245 |
| PyPI | django | 3.2.15 | GHSA-8x94-hmjh-97hq |
| Ubuntu:22.04:LTS | python-django | 2:3.2.12-2ubuntu1.2 | UBUNTU-CVE-2022-36359 |
| Ubuntu:22.04:LTS | python-django | 2:3.2.12-2ubuntu1.2 | USN-5549-1 |
Affected products (as reported)
References
- https://docs.djangoproject.com/en/4.0/releases/security/
- [oss-security] 20220803 Django: CVE-2022-36359: Potential reflected file download vulnerability in FileResponse. mailing-list
- 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/
- DSA-5254 vendor-advisory
- FEDORA-2023-8fed428c5e vendor-advisory
- FEDORA-2023-a53ab7c969 vendor-advisory