{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-36359","id":"CVE-2022-36359","title":"Django vulnerable to Reflected File Download attack","description":"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.","descriptionLong":"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.","published":"2022-08-03T00:00:00.000Z","updated":"2026-11-16T10:45:09.449390395Z","reserved":"2022-07-21T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},"metrics":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub"}],"rating":"high","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"version":"n/a","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":["<3.2.15",">=4.0 <4.0.7",">=3.2 <3.2.15"],"fixed":["3.2.15","4.0.7"],"advisory":"GHSA-8x94-hmjh-97hq"}],"cwes":["CWE-494"],"aliases":["BIT-django-2022-36359","GHSA-8x94-hmjh-97hq","PYSEC-2022-245"],"references":[{"url":"https://docs.djangoproject.com/en/4.0/releases/security/","tags":["x_transferred","Not Applicable","Patch","Vendor Advisory","web"]},{"url":"http://www.openwall.com/lists/oss-security/2022/08/03/1","tags":["mailing-list","x_transferred","Mailing List","Patch","Third Party Advisory","article","web"]},{"url":"https://groups.google.com/g/django-announce/c/8cz--gvaJr4","tags":["x_transferred","Release Notes","Third Party Advisory","web"]},{"url":"https://www.djangoproject.com/weblog/2022/aug/03/security-releases/","tags":["x_transferred","Patch","Vendor Advisory","article"]},{"url":"https://security.netapp.com/advisory/ntap-20220915-0008/","tags":["x_transferred","Third Party Advisory","advisory"]},{"url":"https://www.debian.org/security/2022/dsa-5254","tags":["vendor-advisory","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HWY6DQWRVBALV73BPUVBXC3QIYUM24IK/","tags":["vendor-advisory","x_transferred","advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LTZVAKU5ALQWOKFTPISE257VCVIYGFQI/","tags":["vendor-advisory","x_transferred","advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/36xxx/CVE-2022-36359.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-36359","tags":["advisory"]},{"url":"https://github.com/django/django/commit/b3e4494d759202a3b6bf247fd34455bf13be5b80","tags":["web"]},{"url":"https://github.com/django/django/commit/b7d9529cbe0af4adabb6ea5d01ed8dcce3668fb3","tags":["web"]},{"url":"https://github.com/django/django/commit/bd062445cffd3f6cc6dcd20d13e2abed818fa173","tags":["web"]},{"url":"https://docs.djangoproject.com/en/4.0/releases/security","tags":["web"]},{"url":"https://github.com/django/django","tags":["package"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2022-245.yaml","tags":["web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/HWY6DQWRVBALV73BPUVBXC3QIYUM24IK","tags":["web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LTZVAKU5ALQWOKFTPISE257VCVIYGFQI","tags":["web"]},{"url":"https://security.netapp.com/advisory/ntap-20220915-0008","tags":["web"]},{"url":"https://www.djangoproject.com/weblog/2022/aug/03/security-releases","tags":["web"]},{"url":"https://github.com/advisories/GHSA-8x94-hmjh-97hq","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00935,"epssPercentile":0.6153,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-36359","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-36359","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-36359","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-8x94-hmjh-97hq","ok":true,"note":"GHSA-8x94-hmjh-97hq"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-36359","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":["django"],"critical":[],"attention":null}