PyPi: Django

CVE-2022-36359

Safety vulnerability ID: 50454

This vulnerability was reviewed by experts

The information on this page was manually curated by our Cybersecurity Intelligence Team.

Created at Aug 03, 2022 Updated at Apr 03, 2024
Scan your Python projects for vulnerabilities →

Advisory

Django 3.2.15 and 4.0.7 include a fix for CVE-2022-36359: 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.
https://www.djangoproject.com/weblog/2022/aug/03/security-releases

Affected package

django

Latest version: 5.0.4

A high-level Python web framework that encourages rapid development and clean, pragmatic design.

Affected versions

Fixed versions

Vulnerability changelog

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. See CVE-2022-36359.


CONFIRM:https://www.djangoproject.com/weblog/2022/aug/03/security-releases/: https://www.djangoproject.com/weblog/2022/aug/03/security-releases/
MISC:https://docs.djangoproject.com/en/4.0/releases/security/: https://docs.djangoproject.com/en/4.0/releases/security/
MISC:https://groups.google.com/g/django-announce/c/8cz--gvaJr4: https://groups.google.com/g/django-announce/c/8cz--gvaJr4
MLIST:[oss-security] 20220803 Django: CVE-2022-36359: Potential reflected file download vulnerability in FileResponse.: http://www.openwall.com/lists/oss-security/2022/08/03/1

Resources

Use this package?

Scan your Python project for dependency vulnerabilities in two minutes

Scan your application

Severity Details

CVSS Base Score

HIGH 8.8

CVSS v3 Details

HIGH 8.8
Attack Vector (AV)
NETWORK
Attack Complexity (AC)
LOW
Privileges Required (PR)
NONE
User Interaction (UI)
REQUIRED
Scope (S)
UNCHANGED
Confidentiality Impact (C)
HIGH
Integrity Impact (I)
HIGH
Availability Availability (A)
HIGH