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
Status: IN_PROGRESS
Alias: CVE-2022-36359
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Gentoo Security
URL: https://www.djangoproject.com/weblog/...
Whiteboard: B4 [glsa?]
Keywords:
Depends on: 863401 863404
Blocks:
  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: ---


Attachments

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
CVE-2022-36359:

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):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44f7d299c8c84c0a7086e7581ad2f5b5ddf69911

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

    dev-python/django: drop 3.2.14, 4.0.6
    
    Bug: https://bugs.gentoo.org/863398
    Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>

 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
Thanks!