USN-4224-1: Django vulnerability

19 December 2019

python-django vulnerability

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

  • Ubuntu 19.10
  • Ubuntu 19.04
  • Ubuntu 18.04 LTS
  • Ubuntu 16.04 LTS

Summary

Django accounts could be hijacked through password reset requests.

Software Description

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

Details

Simon Charette discovered that the password reset functionality in Django used a Unicode case insensitive query to retrieve accounts associated with an email address. An attacker could possibly use this to obtain password reset tokens and hijack accounts.

Update instructions

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

Ubuntu 19.10
python-django - 1:1.11.22-1ubuntu1.1
python3-django - 1:1.11.22-1ubuntu1.1
Ubuntu 19.04
python-django - 1:1.11.20-1ubuntu0.3
python3-django - 1:1.11.20-1ubuntu0.3
Ubuntu 18.04 LTS
python-django - 1:1.11.11-1ubuntu1.6
python3-django - 1:1.11.11-1ubuntu1.6
Ubuntu 16.04 LTS
python-django - 1.8.7-1ubuntu5.11
python3-django - 1.8.7-1ubuntu5.11

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