Bug 18979 - python-django new security issue CVE-2016-6186
Summary: python-django new security issue CVE-2016-6186
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/694868/
Whiteboard: has_procedure MGA5-32-OK advisory
Keywords: validated_update
Depends on:
Blocks:
 
Reported: 2016-07-19 02:09 CEST by David Walser
Modified: 2016-08-31 17:33 CEST (History)
3 users (show)

See Also:
Source RPM: python-django-1.8.13-1.mga6.src.rpm
CVE:
Status comment:


Attachments

Description David Walser 2016-07-19 02:09:32 CEST
Upstream has issued an advisory today (July 18):
https://www.djangoproject.com/weblog/2016/jul/18/security-releases/

The issue is fixed in 1.8.14.

Mageia 5 is also affected.
David Walser 2016-07-19 02:09:46 CEST

Whiteboard: (none) => MGA5TOO

Comment 1 David Walser 2016-07-19 16:26:14 CEST
Debian has issued an advisory for this on July 18:
https://www.debian.org/security/2016/dsa-3622
David Walser 2016-07-19 18:18:48 CEST

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

Comment 2 David Walser 2016-07-22 01:07:26 CEST
Updated packages uploaded for Mageia 5 and Cauldron.

Testing procedure:
https://bugs.mageia.org/show_bug.cgi?id=13251#c6

Advisory:
========================

Updated python-django packages fix security vulnerability:

It was discovered that Django is prone to a cross-site scripting vulnerability
in the admin's add/change related popup (CVE-2016-6186).

References:
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-6186
https://www.djangoproject.com/weblog/2016/jul/18/security-releases/
https://www.debian.org/security/2016/dsa-3622
========================

Updated packages in core/updates_testing:
========================
python-django-1.8.14-1.mga5
python-django-bash-completion-1.8.14-1.mga5
python3-django-1.8.14-1.mga5
python-django-doc-1.8.14-1.mga

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

Version: Cauldron => 5
Assignee: makowski.mageia => qa-bugs
Whiteboard: MGA5TOO => has_procedure

Comment 3 Herman Viaene 2016-08-12 15:38:10 CEST
MGA5-32 on Acer D620 Xfce
No installation issues
Used procedure as per bug 13251 Comment 6 and 13
at CLI as normal user
$ 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 12, 2016 - 13:28:23
Django version 1.8.14, using settings 'mysite.settings'
Starting development server at http://127.0.0.1:8000/
Quit the server with CONTROL-C.
[12/Aug/2016 13:28:55] "GET / HTTP/1.1" 200 1767
[12/Aug/2016 13:28:55] "GET /favicon.ico HTTP/1.1" 404 1936
[12/Aug/2016 13:28:55] "GET /favicon.ico HTTP/1.1" 404 1936

django previous versions were installed on this laptop, so
$ python manage.py migrate
Operations to perform:
  Synchronize unmigrated apps: staticfiles, messages
  Apply all migrations: admin, contenttypes, auth, sessions
Synchronizing apps without migrations:
  Creating tables...
    Running deferred SQL...
  Installing custom SQL...
Running migrations:
  Rendering model states... DONE
  Applying contenttypes.0001_initial... OK
  Applying auth.0001_initial... OK
  Applying admin.0001_initial... OK
  Applying contenttypes.0002_remove_content_type_name... OK
  Applying auth.0002_alter_permission_name_max_length... OK
  Applying auth.0003_alter_user_email_max_length... OK
  Applying auth.0004_alter_user_username_opts... OK
  Applying auth.0005_alter_user_last_login_null... OK
  Applying auth.0006_require_contenttypes_0002... OK
  Applying sessions.0001_initial... OK
then
python manage.py runserver
Performing system checks...

System check identified no issues (0 silenced).
August 12, 2016 - 13:29:52
Django version 1.8.14, using settings 'mysite.settings'
Starting development server at http://127.0.0.1:8000/
Quit the server with CONTROL-C.
[12/Aug/2016 13:30:01] "GET / HTTP/1.1" 200 1767

And I could access the page above.

CC: (none) => herman.viaene

Herman Viaene 2016-08-12 15:38:26 CEST

Whiteboard: has_procedure => has_procedure MGA5-32-OK

Dave Hodgins 2016-08-18 23:58:39 CEST

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

Comment 4 Mageia Robot 2016-08-31 17:33:33 CEST
An update for this issue has been pushed to the Mageia Updates repository.

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

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


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