Bug 19464 - python-django new security issue CVE-2016-7401
Summary: python-django new security issue CVE-2016-7401
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: Security (show other bugs)
Version: 5
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact: Sec team
URL: http://lwn.net/Vulnerabilities/701999/
Whiteboard: has_procedure MGA5-64-OK advisory
Keywords: validated_update
Depends on:
Blocks:
 
Reported: 2016-09-26 21:03 CEST by David Walser
Modified: 2016-10-04 14:21 CEST (History)
3 users (show)

See Also:
Source RPM: python-django-1.8.14-1.mga5.src.rpm
CVE: CVE-2016-7401
Status comment:


Attachments

Description David Walser 2016-09-26 21:03:49 CEST
Upstream has issued an advisory today (September 26):
https://www.djangoproject.com/weblog/2016/sep/26/security-releases/

The issue is fixed in 1.8.15.

Mageia 5 is also affected.
David Walser 2016-09-26 21:03:58 CEST

Whiteboard: (none) => MGA5TOO

Comment 1 Philippe Makowski 2016-09-27 13:07:43 CEST
python-django-1.8.15-1.mga5.noarch.rpm
python-django-bash-completion-1.8.15-1.mga5.noarch.rpm
python3-django-1.8.15-1.mga5.noarch.rpm
python-django-doc-1.8.15-1.mga5.noarch.rpm

from python-django-1.8.15-1.mga5.src.rpm

Are in 5/core/updates_testing

Cauldron freeze push asked

Testing procedure:
https://bugs.mageia.org/show_bug.cgi?id=17860#c7

Advisory

CVE-2016-7401: CSRF protection bypass on a site with Google Analytics

An interaction between Google Analytics and Django's cookie parsing could allow an attacker to set arbitrary cookies leading to a bypass of CSRF protection.

Ref :
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-7401
https://www.djangoproject.com/weblog/2016/sep/26/security-releases/

CVE: (none) => CVE-2016-7401
Assignee: makowski.mageia => qa-bugs
Whiteboard: MGA5TOO => MGA5TOO has_procedure

David Walser 2016-09-27 16:04:52 CEST

Version: Cauldron => 5
Whiteboard: MGA5TOO has_procedure => has_procedure

David Walser 2016-09-27 22:57:19 CEST

URL: (none) => http://lwn.net/Vulnerabilities/701999/

Comment 2 Lewis Smith 2016-09-29 20:57:09 CEST
Testing MGA5-64

BEFORE update:
 python-django-1.8.14-1.mga5
 python-django-doc-1.8.14-1.mga5
 python3-django-1.8.14-1.mga5
 python-django-bash-completion-1.8.14-1.mga5

Ran the tests as per https://bugs.mageia.org/show_bug.cgi?id=17860#c7

Python:
 $ django-admin startproject mysite
 $ cd mysite/

 $ python manage.py runserver                 [1st go]
Performing system checks...
System check identified no issues (0 silenced).
You have unapplied migrations; your app may not work properly until they are applied.
Run 'python manage.py migrate' to apply them.
March 04, 2016 - 18:58:12
Django version 1.8.10, using settings 'mysite.settings'
Starting development server at http://127.0.0.1:8000/
Quit the server with CONTROL-C.
 ^C

 $ python manage.py migrate
Operations to perform:
[etc as shown in the reference, all OK]

 $ python manage.py runserver          [2nd go]
Performing system checks...
System check identified no issues (0 silenced).
March 04, 2016 - 18:58:46
Django version 1.8.10, using settings 'mysite.settings'
Starting development server at http://127.0.0.1:8000/
Quit the server with CONTROL-C.
[ Point a browser to http://localhost:8000/ and you should see:
"It worked!
 Congratulations on your first Django-powered page." ]
^C

$ cd ..                [To tidy up]
$ rm -rf mysite/
--------
Python3:
 $ python3-django-admin startproject mysite
 $ cd mysite/

 $ python3 manage.py runserver            [1st go]
[Same O/P as 1st such command as above]
 ^C

 $ python3 manage.py migrate
[Same O/P as above all OK]

 $ python3 manage.py runserver          [2nd go]
[Same O/P and browser result as per 2nd such command above]
 ^C

$ cd ..                [To tidy up]
$ rm -rf mysite/
----------------------
AFTER update:
 python-django-bash-completion-1.8.15-1.mga5
 python3-django-1.8.15-1.mga5
 python-django-doc-1.8.15-1.mga5
 python-django-1.8.15-1.mga5

Same results as before for both Python & Python3. This update looks OK.

CC: (none) => lewyssmith
Whiteboard: has_procedure => has_procedure MGA5-64-OK

Dave Hodgins 2016-10-04 13:41:27 CEST

Keywords: (none) => validated_update
Whiteboard: has_procedure MGA5-64-OK => has_procedure MGA5-64-OK advisory
CC: (none) => davidwhodgins, sysadmin-bugs

Comment 3 Mageia Robot 2016-10-04 14:21:43 CEST
An update for this issue has been pushed to the Mageia Updates repository.

http://advisories.mageia.org/MGASA-2016-0334.html

Status: NEW => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.