A Django security update has been released for Ubuntu Linux 18.04 LTS, 20.04 LTS, 21.04, and 21.10.
==========================================================================
Ubuntu Security Notice USN-5204-1
January 05, 2022
python-django vulnerabilities
==========================================================================
A security issue affects these releases of Ubuntu and its derivatives:
- Ubuntu 21.10
- Ubuntu 21.04
- Ubuntu 20.04 LTS
- Ubuntu 18.04 LTS
Summary:
Several security issues were fixed in Django.
Software Description:
- python-django: High-level Python web development framework
Details:
Chris Bailey discovered that Django incorrectly handled evaluating
submitted passwords. A remote attacker could possibly use this issue to
consume resources, resulting in a denial of service. (CVE-2021-45115)
Dennis Brinkrolf discovered that Django incorrectly handled the dictsort
template filter. A remote attacker could possibly use this issue to obtain
sensitive information. (CVE-2021-45116)
Dennis Brinkrolf discovered that Django incorrectly handled certain file
names. A remote attacker could possibly use this issue to save files to
arbitrary filesystem locations. (CVE-2021-45452)
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.2
Ubuntu 21.04:
python3-django 2:2.2.20-1ubuntu0.4
Ubuntu 20.04 LTS:
python3-django 2:2.2.12-1ubuntu0.9
Ubuntu 18.04 LTS:
python-django 1:1.11.11-1ubuntu1.15
python3-django 1:1.11.11-1ubuntu1.15
In general, a standard system update will make all the necessary changes.
References:
https://ubuntu.com/security/notices/USN-5204-1
CVE-2021-45115, CVE-2021-45116, CVE-2021-45452
Package Information:
https://launchpad.net/ubuntu/+source/python-django/2:2.2.24-1ubuntu1.2
https://launchpad.net/ubuntu/+source/python-django/2:2.2.20-1ubuntu0.4
https://launchpad.net/ubuntu/+source/python-django/2:2.2.12-1ubuntu0.9
https://launchpad.net/ubuntu/+source/python-django/1:1.11.11-1ubuntu1.15