Ubuntu 6587 Published by

A Django security update has been released has been released for Ubuntu Linux 18.04 LTS, 20.04 LTS, 22.04 LTS, 22.10, and 23.04.



USN-6054-1: Django vulnerability


==========================================================================
Ubuntu Security Notice USN-6054-1
May 03, 2023

python-django vulnerability
==========================================================================

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

- Ubuntu 23.04
- Ubuntu 22.10
- Ubuntu 22.04 LTS
- Ubuntu 20.04 LTS
- Ubuntu 18.04 LTS

Summary:

A Django hardening measure could be bypassed.

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

Details:

Moataz Al-Sharida and nawaik discovered that Django incorrectly handled
uploading multiple files using one form field. A remote attacker could
possibly use this issue to bypass certain validations.

Update instructions:

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

Ubuntu 23.04:
python3-django 3:3.2.18-1ubuntu0.1

Ubuntu 22.10:
python3-django 3:3.2.15-1ubuntu1.3

Ubuntu 22.04 LTS:
python3-django 2:3.2.12-2ubuntu1.6

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

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

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

References:
https://ubuntu.com/security/notices/USN-6054-1
CVE-2023-31047

Package Information:
https://launchpad.net/ubuntu/+source/python-django/3:3.2.18-1ubuntu0.1
https://launchpad.net/ubuntu/+source/python-django/3:3.2.15-1ubuntu1.3
https://launchpad.net/ubuntu/+source/python-django/2:3.2.12-2ubuntu1.6
https://launchpad.net/ubuntu/+source/python-django/2:2.2.12-1ubuntu0.17
https://launchpad.net/ubuntu/+source/python-django/1:1.11.11-1ubuntu1.21