A Django security update has been released for Ubuntu Linux 16.04 LTS, 18.04 LTS, 20.04 LTS, and 20.10.
==========================================================================
Ubuntu Security Notice USN-4902-1
April 06, 2021
python-django vulnerability
==========================================================================
A security issue affects these releases of Ubuntu and its derivatives:
- Ubuntu 20.10
- Ubuntu 20.04 LTS
- Ubuntu 18.04 LTS
- Ubuntu 16.04 LTS
Summary:
Django could be made to overwrite files.
Software Description:
- python-django: High-level Python web development framework
Details:
Dennis Brinkrolf discovered that Django incorrectly handled certain
filenames. A remote attacker could possibly use this issue to create or
overwrite files in unexpected directories.
Update instructions:
The problem can be corrected by updating your system to the following
package versions:
Ubuntu 20.10:
python3-django 2:2.2.16-1ubuntu0.3
Ubuntu 20.04 LTS:
python3-django 2:2.2.12-1ubuntu0.5
Ubuntu 18.04 LTS:
python-django 1:1.11.11-1ubuntu1.12
python3-django 1:1.11.11-1ubuntu1.12
Ubuntu 16.04 LTS:
python-django 1.8.7-1ubuntu5.15
python3-django 1.8.7-1ubuntu5.15
In general, a standard system update will make all the necessary changes.
References:
https://ubuntu.com/security/notices/USN-4902-1
CVE-2021-28658
Package Information:
https://launchpad.net/ubuntu/+source/python-django/2:2.2.16-1ubuntu0.3
https://launchpad.net/ubuntu/+source/python-django/2:2.2.12-1ubuntu0.5
https://launchpad.net/ubuntu/+source/python-django/1:1.11.11-1ubuntu1.12
https://launchpad.net/ubuntu/+source/python-django/1.8.7-1ubuntu5.15