Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 863398 (CVE-2022-36359)

Summary: <dev-python/django-{3.2.15,4.0.7}: reflected file download
Product: Gentoo Security Reporter: John Helmert III <ajak>
Component: VulnerabilitiesAssignee: Gentoo Security <security>
Status: IN_PROGRESS ---    
Severity: minor CC: mgorny, python
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://www.djangoproject.com/weblog/2022/aug/03/security-releases/
Whiteboard: B4 [glsa?]
Package list:
Runtime testing required: ---
Bug Depends on: 863401, 863404    
Bug Blocks:    

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!