{"schema_version":"1.9.0","id":"CVE-2022-36359","published":"2022-08-03T00:00:00Z","modified":"2026-08-12T03:51:23.710636969Z","aliases":["BIT-django-2022-36359","GHSA-8x94-hmjh-97hq","PYSEC-2022-245"],"related":["openSUSE-SU-2022:10103-1","openSUSE-SU-2023:0005-1","openSUSE-SU-2024:12236-1","openSUSE-SU-2024:14208-1","openSUSE-SU-2025:14662-1","openSUSE-SU-2026:10005-1","openSUSE-SU-2026:11235-1","openSUSE-SU-2026:11270-1"],"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.","affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/django/django","events":[{"introduced":"3591e1c1acbd7c13174275367c3fdf012cb0413b"},{"fixed":"653a7bd7b7c2f7c3ffe6b22be53da1472c491474"},{"introduced":"ef62a3a68c9d558486145a42c0d71ea9a76add9e"},{"fixed":"e9e9729846dc24dc73264341094ed51f2c8ac3dc"}],"database_specific":{"cpe":"cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"3.2"},{"fixed":"3.2.15"},{"introduced":"4.0"},{"fixed":"4.0.7"}],"source":"CPE_RANGE"}}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-36359.json"}}],"references":[{"type":"WEB","url":"https://docs.djangoproject.com/en/4.0/releases/security/"},{"type":"WEB","url":"https://groups.google.com/g/django-announce/c/8cz--gvaJr4"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/36xxx/CVE-2022-36359.json"},{"type":"ADVISORY","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HWY6DQWRVBALV73BPUVBXC3QIYUM24IK/"},{"type":"ADVISORY","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LTZVAKU5ALQWOKFTPISE257VCVIYGFQI/"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-36359"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20220915-0008/"},{"type":"ADVISORY","url":"https://www.debian.org/security/2022/dsa-5254"},{"type":"ARTICLE","url":"http://www.openwall.com/lists/oss-security/2022/08/03/1"},{"type":"ARTICLE","url":"https://www.djangoproject.com/weblog/2022/aug/03/security-releases/"}],"database_specific":{"cna_assigner":"mitre","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/36xxx/CVE-2022-36359.json","unresolved_ranges":[{"extracted_events":[{"introduced":"3.2"},{"fixed":"3.2.15"},{"introduced":"4.0"},{"fixed":"4.0.7"}],"source":"DESCRIPTION"}]}}