Bug 16607 - python-django, python-django14 new security issues CVE-2015-5963 and CVE-2015-5964
Summary: python-django, python-django14 new security issues CVE-2015-5963 and CVE-2015...
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: Security (show other bugs)
Version: 5
Hardware: i586 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact: Sec team
URL: http://lwn.net/Vulnerabilities/654999/
Whiteboard: MGA4TOO has_procedure MGA5-64-OK MGA4...
Keywords: validated_update
Depends on:
Blocks:
 
Reported: 2015-08-18 21:09 CEST by David Walser
Modified: 2015-08-27 22:50 CEST (History)
3 users (show)

See Also:
Source RPM: python-django-1.8.3-1.mga5.src.rpm, python-django14-1.4.21-1.mga4.src.rpm
CVE:
Status comment:


Attachments

Description David Walser 2015-08-18 21:09:33 CEST
Upstream has issued an advisory today (August 18):
https://www.djangoproject.com/weblog/2015/aug/18/security-releases/

The issues are fixed upstream in 1.8.4 and 1.4.22.

Mageia 4 and Mageia 5 are also affected.

Reproducible: 

Steps to Reproduce:
David Walser 2015-08-18 21:09:39 CEST

Whiteboard: (none) => MGA5TOO, MGA4TOO

Comment 1 David Walser 2015-08-19 20:20:38 CEST
Ubuntu has issued an advisory for this on August 18:
http://www.ubuntu.com/usn/usn-2720-1/

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

Comment 2 Philippe Makowski 2015-08-23 12:39:48 CEST
Advisory:
========================

Updated python-django and python-django14 packages fix security
vulnerabilities:
Lin Hua Cheng discovered that Django incorrectly handled the session store.
A remote attacker could use this issue to cause the session store to fill
up, resulting in a denial of service.

References:
https://www.djangoproject.com/weblog/2015/aug/18/security-releases/
http://www.ubuntu.com/usn/usn-2720-1/
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-5963
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-5964

Mageia 5 :

Update packages :

python-django-doc-1.8.4-1.mga5.noarch.rpm
python-django-1.8.4-1.mga5.noarch.rpm
python3-django-1.8.4-1.mga5.noarch.rpm
python-django-bash-completion-1.8.4-1.mga5.noarch.rpm

From :
python-django-1.8.4-1.mga5.src.rpm

Mageia 4 :

Update packages :

python-django14-1.4.22-1.mga4.noarch.rpm

From :
python-django14-1.4.22-1.mga4.src.rpm

Assignee: makowski.mageia => qa-bugs

Comment 3 David Walser 2015-08-23 20:40:03 CEST
Testing procedure:
https://bugs.mageia.org/show_bug.cgi?id=13251#c6

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

Comment 4 Yann Cantin 2015-08-24 23:08:50 CEST
mga5 64 LANG=fr_FR.UTF-8

===========
Installed :
python-django-1.8.4-1.mga5.noarch.rpm
python-django-bash-completion-1.8.4-1.mga5.noarch.rpm

$ django-admin startproject mysite
$ cd mysite/
$ python manage.py runserver
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.

August 24, 2015 - 20:53:41
Django version 1.8.4, using settings 'mysite.settings'
Starting development server at http://127.0.0.1:8000/
Quit the server with CONTROL-C.
[24/Aug/2015 20:54:29] "GET / HTTP/1.1" 200 1767
[24/Aug/2015 20:54:30] "GET /favicon.ico HTTP/1.1" 404 1936
[24/Aug/2015 20:54:30] "GET /favicon.ico HTTP/1.1" 404 1936
^C

Test OK.
===========
Installed :
python3-django-1.8.4-1.mga5.noarch.rpm
python-django-bash-completion-1.8.4-1.mga5.noarch.rpm

$ python3-django-admin startproject mysite
$ cd mysite/
$ python3 manage.py runserver
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.

August 24, 2015 - 21:05:43
Django version 1.8.4, using settings 'mysite.settings'
Starting development server at http://127.0.0.1:8000/
Quit the server with CONTROL-C.
[24/Aug/2015 21:05:54] "GET / HTTP/1.1" 200 1767
[24/Aug/2015 21:05:58] "GET / HTTP/1.1" 200 1767
^C

Test OK.
===========

Update OK.

CC: (none) => yann.cantin
Whiteboard: MGA4TOO has_procedure => MGA4TOO has_procedure MGA5-64-OK

Comment 5 Lewis Smith 2015-08-25 21:21:30 CEST
Testing MGA4 x64 (OK)

Having python & python-django14-1.4.21-1.mga4 already installed, updated the latter to:
 python-django14-1.4.22-1.mga4
and ran the test shown in
 https://bugs.mageia.org/show_bug.cgi?id=13251#c6      [thanks Claire]
just for the 1st part (I have Python3 installed, but this update applies just to django14 for Mageia 4).
Result OK.

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

Comment 6 Samuel Verschelde 2015-08-27 16:50:45 CEST
Validating. Still needs an advisory to be uploaded.

Keywords: (none) => validated_update
CC: (none) => sysadmin-bugs

Comment 7 Rémi Verschelde 2015-08-27 20:18:38 CEST
Advisory uploaded.

Whiteboard: MGA4TOO has_procedure MGA5-64-OK MGA4-64-OK => MGA4TOO has_procedure MGA5-64-OK MGA4-64-OK advisory

Comment 8 Mageia Robot 2015-08-27 22:50:44 CEST
An update for this issue has been pushed to Mageia Updates repository.

http://advisories.mageia.org/MGASA-2015-0327.html

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


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