USN-2915-1: Django vulnerabilities

1 March 2016

python-django vulnerabilities

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

  • Ubuntu 15.10
  • Ubuntu 14.04 LTS
  • Ubuntu 12.04 LTS

Summary

Several security issues were fixed in Django.

Software Description

  • python-django - High-level Python web development framework

Details

Mark Striemer discovered that Django incorrectly handled user-supplied redirect URLs containing basic authentication credentials. A remote attacker could possibly use this issue to perform a cross-site scripting attack or a malicious redirect. (CVE-2016-2512)

Sjoerd Job Postmus discovered that Django incorrectly handled timing when doing password hashing operations. A remote attacker could possibly use this issue to perform user enumeration. (CVE-2016-2513)

Update instructions

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

Ubuntu 15.10
python-django - 1.7.9-1ubuntu5.2
python3-django - 1.7.9-1ubuntu5.2
Ubuntu 14.04 LTS
python-django - 1.6.1-2ubuntu0.12
Ubuntu 12.04 LTS
python-django - 1.3.1-4ubuntu1.20

To update your system, please follow these instructions: https://wiki.ubuntu.com/Security/Upgrades.

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

References