Ubuntu Security Notice 4932-1 - It was discovered that Django incorrectly handled certain filenames. A remote attacker could possibly use this issue to create or overwrite files in unexpected directories.
9e394c0ef18e3526d93584653234e8977f25e52da7f93398b990bb67757cd0f6
==========================================================================
Ubuntu Security Notice USN-4932-1
May 04, 2021
python-django vulnerability
==========================================================================
A security issue affects these releases of Ubuntu and its derivatives:
- Ubuntu 21.04
- Ubuntu 20.10
- Ubuntu 20.04 LTS
- Ubuntu 18.04 LTS
Summary:
Django could be made to overwrite files.
Software Description:
- python-django: High-level Python web development framework
Details:
It was 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 21.04:
python3-django 2:2.2.20-1ubuntu0.1
Ubuntu 20.10:
python3-django 2:2.2.16-1ubuntu0.4
Ubuntu 20.04 LTS:
python3-django 2:2.2.12-1ubuntu0.6
Ubuntu 18.04 LTS:
python-django 1:1.11.11-1ubuntu1.13
python3-django 1:1.11.11-1ubuntu1.13
In general, a standard system update will make all the necessary changes.
References:
https://ubuntu.com/security/notices/USN-4932-1
CVE-2021-31542
Package Information:
https://launchpad.net/ubuntu/+source/python-django/2:2.2.20-1ubuntu0.1
https://launchpad.net/ubuntu/+source/python-django/2:2.2.16-1ubuntu0.4
https://launchpad.net/ubuntu/+source/python-django/2:2.2.12-1ubuntu0.6
https://launchpad.net/ubuntu/+source/python-django/1:1.11.11-1ubuntu1.13