Ubuntu: 1560-1: Django vulnerabilities
Posted by Benjamin D. Thomas   
Ubuntu Applications using Django could be made to crash or expose sensitiveinformation.
==========================================================================
Ubuntu Security Notice USN-1560-1
September 10, 2012

python-django vulnerabilities
==========================================================================

A security issue affects these releases of Ubuntu and its derivatives:

- Ubuntu 12.04 LTS
- Ubuntu 11.10
- Ubuntu 11.04
- Ubuntu 10.04 LTS

Summary:

Applications using Django could be made to crash or expose sensitive
information.

Software Description:
- python-django: High-level Python web development framework

Details:

It was discovered that Django incorrectly validated the scheme of a
redirect target. If a user were tricked into opening a specially crafted
URL, an attacker could possibly exploit this to conduct cross-site
scripting (XSS) attacks. (CVE-2012-3442)

It was discovered that Django incorrectly handled validating certain
images. A remote attacker could use this flaw to cause the server to
consume memory, leading to a denial of service. (CVE-2012-3443)

Jeroen Dekkers discovered that Django incorrectly handled certain image
dimensions. A remote attacker could use this flaw to cause the server to
consume resources, leading to a denial of service. (CVE-2012-3444)

Update instructions:

The problem can be corrected by updating your system to the following
package versions:

Ubuntu 12.04 LTS:
  python-django                   1.3.1-4ubuntu1.2

Ubuntu 11.10:
  python-django                   1.3-2ubuntu1.3

Ubuntu 11.04:
  python-django                   1.2.5-1ubuntu1.2

Ubuntu 10.04 LTS:
  python-django                   1.1.1-2ubuntu1.5

In general, a standard system update will make all the necessary changes.

References:
  http://www.ubuntu.com/usn/usn-1560-1
  CVE-2012-3442, CVE-2012-3443, CVE-2012-3444

Package Information:
  https://launchpad.net/ubuntu/+source/python-django/1.3.1-4ubuntu1.2
  https://launchpad.net/ubuntu/+source/python-django/1.3-2ubuntu1.3
  https://launchpad.net/ubuntu/+source/python-django/1.2.5-1ubuntu1.2
  https://launchpad.net/ubuntu/+source/python-django/1.1.1-2ubuntu1.5