~ / search / GHSA-8x94-hmjh-97hq

GHSA-8x94-hmjh-97hq

Django vulnerable to Reflected File Download attack

Source: GitHub Advisory Database (reviewed) High CVE-2022-36359

Packages

EcosystemPackageAffectedFixed in
PyPI Django < 3.2.15 3.2.15
PyPI Django >= 4.0, < 4.0.7 4.0.7

Details

As written in the advisory (Markdown source, shown as plain text).

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.

References

External links from the advisory. They lead to third-party sites.