VDB
Sign up
—

PYSEC-2022-245

Quick fix

PYSEC-2022-245 — django: upgrade to the fixed version with the command below.

pip install --upgrade 'django>=3.2.15'

Details

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/django
Introduced in: 3.2Fixed in: 3.2.15
Fixpip install --upgrade 'django>=3.2.15'

References