Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 863398 (CVE-2022-36359) - <dev-python/django-{3.2.15,4.0.7}: reflected file download
Summary: <dev-python/django-{3.2.15,4.0.7}: reflected file download
Alias: CVE-2022-36359
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Gentoo Security
Whiteboard: B4 [glsa?]
Depends on: 863401 863404
  Show dependency tree
Reported: 2022-08-03 16:08 UTC by John Helmert III
Modified: 2022-08-04 04:32 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2022-08-03 16:08:30 UTC

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.

Please bump to 3.2.15 and 4.0.7.
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2022-08-03 16:16:26 UTC
Thanks for the report!  I haven't been able to get around to bumping Python stuff lately, so these reports for important bumps are very helpful.
Comment 2 Larry the Git Cow gentoo-dev 2022-08-03 20:39:07 UTC
The bug has been referenced in the following commit(s):

commit 44f7d299c8c84c0a7086e7581ad2f5b5ddf69911
Author:     Arthur Zamarin <>
AuthorDate: 2022-08-03 20:38:48 +0000
Commit:     Arthur Zamarin <>
CommitDate: 2022-08-03 20:38:48 +0000

    dev-python/django: drop 3.2.14, 4.0.6
    Signed-off-by: Arthur Zamarin <>

 dev-python/django/Manifest             |   4 --
 dev-python/django/django-3.2.14.ebuild | 109 --------------------------------
 dev-python/django/django-4.0.6.ebuild  | 110 ---------------------------------
 3 files changed, 223 deletions(-)
Comment 3 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2022-08-04 04:32:44 UTC