{"id":"CVE-2022-36359","aliases":["CVE-2022-36359","GHSA-8x94-hmjh-97hq","BIT-DJANGO-2022-36359","PYSEC-2022-245"],"related":["CVE-2022-45442"],"kind":"vulnerability","state":"published","title":"Django vulnerable to Reflected File Download attack","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"Se ha detectado un problema en la clase HTTP FileResponse en Django versiones 3.2 anteriores a 3.2.15 y 4.0 anteriores a 4.0.7. Una aplicación es vulnerable a un ataque de descarga de archivos reflejada (RFD) que establece el encabezado Content-Disposition de un FileResponse cuando el nombre del archivo es derivado de la entrada proporcionada por el usuario","source":"nvd"}],"published":"2022-08-03T00:00:00.000Z","modified":"2026-09-08T08:46:32.661Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"HIGH"}],"cwes":["CWE-494"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"3.2.15"}],"ecosystem":"PyPI","package":"django","purl":"pkg:pypi/django","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"4.0","status":"affected","fixed":"4.0.7"}],"ecosystem":"PyPI","package":"django","purl":"pkg:pypi/django","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"3.2","fixed":"3.2.15"},{"status":"affected","introduced":"4.0","fixed":"4.0.7"}],"vendor":"djangoproject","product":"django","cpe":"cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"11.0"}],"vendor":"debian","product":"debian_linux","cpe":"cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"3.2","status":"affected","fixed":"3.2.15"},{"type":"ecosystem","introduced":"4.0","status":"affected","fixed":"4.0.7"}],"ecosystem":"PyPI","package":"django","purl":"pkg:pypi/django","source":"pysec"},{"ranges":[{"type":"semver","introduced":"3.2.0","status":"affected","fixed":"3.2.15"},{"type":"semver","introduced":"4.0.0","status":"affected","fixed":"4.0.7"}],"ecosystem":"Bitnami","package":"django","purl":"pkg:bitnami/django","source":"bitnami"}],"references":[{"url":"https://docs.djangoproject.com/en/4.0/releases/security/","tags":["advisory","not-applicable","patch","vendor-advisory","web","x-transferred"],"sources":["cvelist","nvd","pysec","bitnami"]},{"url":"http://www.openwall.com/lists/oss-security/2022/08/03/1","tags":["advisory","mailing-list","patch","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec","bitnami"]},{"url":"https://groups.google.com/g/django-announce/c/8cz--gvaJr4","tags":["advisory","release-notes","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec","bitnami"]},{"url":"https://www.djangoproject.com/weblog/2022/aug/03/security-releases/","tags":["advisory","article","patch","vendor-advisory","x-transferred"],"sources":["cvelist","nvd","pysec","bitnami"]},{"url":"https://security.netapp.com/advisory/ntap-20220915-0008/","tags":["advisory","third-party-advisory","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://www.debian.org/security/2022/dsa-5254","tags":["advisory","third-party-advisory","vendor-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HWY6DQWRVBALV73BPUVBXC3QIYUM24IK/","tags":["vendor-advisory","web","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LTZVAKU5ALQWOKFTPISE257VCVIYGFQI/","tags":["vendor-advisory","web","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-36359","tags":["advisory","web"],"sources":["ghsa","bitnami"]},{"url":"https://github.com/django/django/commit/b3e4494d759202a3b6bf247fd34455bf13be5b80","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/django/django/commit/b7d9529cbe0af4adabb6ea5d01ed8dcce3668fb3","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/django/django/commit/bd062445cffd3f6cc6dcd20d13e2abed818fa173","tags":["web"],"sources":["ghsa"]},{"url":"https://docs.djangoproject.com/en/4.0/releases/security","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/django/django","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2022-245.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/HWY6DQWRVBALV73BPUVBXC3QIYUM24IK","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LTZVAKU5ALQWOKFTPISE257VCVIYGFQI","tags":["web"],"sources":["ghsa"]},{"url":"https://security.netapp.com/advisory/ntap-20220915-0008","tags":["web"],"sources":["ghsa"]},{"url":"https://www.djangoproject.com/weblog/2022/aug/03/security-releases","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-8x94-hmjh-97hq","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-36359","url":"https://www.cve.org/CVERecord?id=CVE-2022-36359","licence":"CVE Terms of Use","modified":"2025-02-13T16:32:48.215Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-8x94-hmjh-97hq","url":"https://github.com/advisories/GHSA-8x94-hmjh-97hq","licence":"CC-BY-4.0","modified":"2026-02-04T02:45:55.690Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-36359","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-36359","licence":"Public domain","modified":"2026-06-17T04:53:19.210Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2022-245","url":"https://osv.dev/vulnerability/PYSEC-2022-245","licence":"CC-BY-4.0","modified":"2025-01-14T11:27:04.205Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-DJANGO-2022-36359","url":"https://osv.dev/vulnerability/BIT-DJANGO-2022-36359","licence":"Apache-2.0","modified":"2026-09-08T08:46:32.661Z"}],"updatedAt":"2026-11-25T22:58:13.376Z","epss":{"score":0.00935,"percentile":0.61806,"date":"2026-12-01T12:00:22.000Z"}}