Debian Security Advisory

DSA-2634-1 python-django -- several vulnerabilities

Date Reported:
27 Feb 2013
Affected Packages:
python-django
Vulnerable:
Yes
Security database references:
In the Debian bugtracking system: Bug 701186, Bug 696535, Bug 691145.
In Mitre's CVE dictionary: CVE-2012-4520, CVE-2013-0305, CVE-2013-0306, CVE-2013-1665.
More information:

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

  • CVE-2012-4520

    James Kettle discovered that Django did not properly filter the HTTP Host header when processing certain requests. An attacker could exploit this to generate and cause parts of Django, particularly the password-reset mechanism, to display arbitrary URLs to users.

  • CVE-2013-0305

    Orange Tsai discovered that the bundled administrative interface of Django could expose supposedly-hidden information via its history log.

  • CVE-2013-0306

    Mozilla discovered that an attacker can abuse Django's tracking of the number of forms in a formset to cause a denial-of-service attack due to extreme memory consumption.

  • CVE-2013-1665

    Michael Koziarski discovered that Django's XML deserialization is vulnerable to entity-expansion and external-entity/DTD attacks.

For the stable distribution (squeeze), these problems have been fixed in version 1.2.3-3+squeeze5.

For the testing distribution (wheezy), these problems will be fixed soon.

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

We recommend that you upgrade your python-django packages.