USN-2915-2: Django regression

7 March 2016

python-django regression

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

  • Ubuntu 15.10
  • Ubuntu 14.04 LTS

Summary

USN-2915-1 introduced a regression in Django.

Software Description

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

Details

USN-2915-1 fixed vulnerabilities in Django. The upstream fix for CVE-2016-2512 introduced a regression for certain applications. This update fixes the problem by applying the complete upstream regression fix.

Original advisory 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.4
python3-django - 1.7.9-1ubuntu5.4
Ubuntu 14.04 LTS
python-django - 1.6.1-2ubuntu0.14

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