[USN-4932-1] Django vulnerability

========================================================================== 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
Django could be made to overwrite files.
Software Description: – python-django: High-level Python web development framework
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: ubuntu.com/security/notices/USN-4932-1 CVE-2021-31542
Package Information: launchpad.net/ubuntu/+source/python-django/2:2.2.20-1ubuntu0.1 launchpad.net/ubuntu/+source/python-django/2:2.2.16-1ubuntu0.4 launchpad.net/ubuntu/+source/python-django/2:2.2.12-1ubuntu0.6 launchpad.net/ubuntu/+source/python-django/1:1.11.11-1ubuntu1.13