Ubuntu 6614 Published by

A Django security update has been released for Ubuntu Linux 20.04 LTS, 19.10, 18.04 LTS, and 16.04 LTS.



USN-4381-1: Django vulnerabilities

==========================================================================
Ubuntu Security Notice USN-4381-1
June 03, 2020

python-django vulnerabilities
==========================================================================

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

- Ubuntu 20.04 LTS
- Ubuntu 19.10
- Ubuntu 18.04 LTS
- Ubuntu 16.04 LTS

Summary:

Several security issues were fixed in Django.

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

Details:

Dan Palmer discovered that Django incorrectly validated memcached cache
keys. A remote attacker could possibly use this issue to cause a denial of
service and obtain sensitive information. (CVE-2020-13254)

Jon Dufresne discovered that Django incorrectly encoded query parameters
for the admin ForeignKeyRawIdWidget. A remote attacker could possibly use
this issue to perform XSS attacks. (CVE-2020-13596)

Update instructions:

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

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

Ubuntu 19.10:
python-django 1:1.11.22-1ubuntu1.4
python3-django 1:1.11.22-1ubuntu1.4

Ubuntu 18.04 LTS:
python-django 1:1.11.11-1ubuntu1.9
python3-django 1:1.11.11-1ubuntu1.9

Ubuntu 16.04 LTS:
python-django 1.8.7-1ubuntu5.13
python3-django 1.8.7-1ubuntu5.13

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

References:
https://usn.ubuntu.com/4381-1
CVE-2020-13254, CVE-2020-13596

Package Information:
https://launchpad.net/ubuntu/+source/python-django/2:2.2.12-1ubuntu0.1
https://launchpad.net/ubuntu/+source/python-django/1:1.11.22-1ubuntu1.4
https://launchpad.net/ubuntu/+source/python-django/1:1.11.11-1ubuntu1.9
https://launchpad.net/ubuntu/+source/python-django/1.8.7-1ubuntu5.13