Debian 9894 Published by

A python-django security update has been released for Debian



- -------------------------------------------------------------------------
Debian Security Advisory DSA-3151-1 security@debian.org
http://www.debian.org/security/ Salvatore Bonaccorso
February 03, 2015 http://www.debian.org/security/faq
- -------------------------------------------------------------------------

Package : python-django
CVE ID : CVE-2015-0219 CVE-2015-0220 CVE-2015-0221
Debian Bug : 775375

Several vulnerabilities were discovered in Django, a high-level Python
web development framework. The Common Vulnerabilities and Exposures
project identifies the following problems:

CVE-2015-0219

Jedediah Smith reported that the WSGI environ in Django does not
distinguish between headers containing dashes and headers containing
underscores. A remote attacker could use this flaw to spoof WSGI
headers.

CVE-2015-0220

Mikko Ohtamaa discovered that the django.util.http.is_safe_url()
function in Django does not properly handle leading whitespaces in
user-supplied redirect URLs. A remote attacker could potentially use
this flaw to perform a cross-site scripting attack.

CVE-2015-0221

Alex Gaynor reported a flaw in the way Django handles reading files
in the django.views.static.serve() view. A remote attacker could
possibly use this flaw to mount a denial of service via resource
consumption.

For the stable distribution (wheezy), these problems have been fixed in
version 1.4.5-1+deb7u9.

For the upcoming stable distribution (jessie), these problems have been
fixed in version 1.7.1-1.1.

For the unstable distribution (sid), these problems have been fixed in
version 1.7.1-1.1.

We recommend that you upgrade your python-django packages.

Further information about Debian Security Advisories, how to apply
these updates to your system and frequently asked questions can be
found at: https://www.debian.org/security/
  DSA 3151-1: python-django security update