Advisories ยป MGASA-2015-0293

Updated python-django and python-django14 packages fix security vulnerabilities

Publication date: 28 Jul 2015
Type: security
Affected Mageia releases : 4 , 5
CVE: CVE-2015-5143 , CVE-2015-5144 , CVE-2015-5145


Eric Peterson and Lin Hua Cheng discovered that a new empty record used to be
created in the session storage every time a session was accessed and an
unknown session key was provided in the request cookie. This could allow
remote attackers to saturate the session store or cause other users' session
records to be evicted (CVE-2015-5143).

Sjoerd Job Postmus discovered that some built-in validators did not properly
reject newlines in input values. This could allow remote attackers to inject
headers in emails and HTTP responses (CVE-2015-5144).

django.core.validators.URLValidator included a regular expression that was
extremely slow to evaluate against certain inputs. This regular expression has
been simplified and optimized (CVE-2015-5145).

The Mageia 4 python-django14 and Mageia 5 python-django packages have been
updated to versions 1.4.21 and 1.8.3 respectively to fix these issues.  Note
that the CVE-2015-5145 issue only affected python-django.

Note: the python-django package in Mageia 4, based on Django 1.5.9, is no
longer supported.  Users of this package are advised to migrate to Mageia 5.