Ubuntu 6587 Published by

A Django security update has been released for Ubuntu Linux 20.04 LTS, 21.04, and 21.10.



==========================================================================
Ubuntu Security Notice USN-5178-1
December 07, 2021

python-django vulnerability
==========================================================================

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

- Ubuntu 21.10
- Ubuntu 21.04
- Ubuntu 20.04 LTS

Summary:

Django could be made to expose sensitive information.

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

Details:

Sjoerd Job Postmus and TengMA discovered that Django incorrectly handled
URLs with trailing newlines. A remote attacker could possibly use this
issue to bypass certain access controls.

Update instructions:

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

Ubuntu 21.10:
python3-django 2:2.2.24-1ubuntu1.1

Ubuntu 21.04:
python3-django 2:2.2.20-1ubuntu0.3

Ubuntu 20.04 LTS:
python3-django 2:2.2.12-1ubuntu0.8

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

References:
  https://ubuntu.com/security/notices/USN-5178-1
CVE-2021-44420

Package Information:
  https://launchpad.net/ubuntu/+source/python-django/2:2.2.24-1ubuntu1.1
  https://launchpad.net/ubuntu/+source/python-django/2:2.2.20-1ubuntu0.3
  https://launchpad.net/ubuntu/+source/python-django/2:2.2.12-1ubuntu0.8