ADVISORIES

Ubuntu CVE Tracker

UBUNTU-CVE-2023-31047

Details

In Django 3.2 before 3.2.19, 4.x before 4.1.9, and 4.2 before 4.2.1, it was possible to bypass validation when using one form field to upload multiple files. This multiple upload has never been supported by forms.FileField or forms.ImageField (only the last uploaded file was validated). However, Django's "Uploading multiple files" documentation suggested otherwise.

Affected packages

EcosystemPackageAffected versions
Ubuntu:Pro:14.04:LTSpython-django
All versions before 1.6.11-0ubuntu1.3+esm6 (fixed in 1.6.11-0ubuntu1.3+esm6)
Ubuntu:Pro:16.04:LTSpython-django
All versions before 1.8.7-1ubuntu5.15+esm7 (fixed in 1.8.7-1ubuntu5.15+esm7)
Ubuntu:18.04:LTSpython-django
All versions before 1:1.11.11-1ubuntu1.21 (fixed in 1:1.11.11-1ubuntu1.21)
Ubuntu:20.04:LTSpython-django
All versions before 2:2.2.12-1ubuntu0.17 (fixed in 2:2.2.12-1ubuntu0.17)
Ubuntu:22.04:LTSpython-django
All versions before 2:3.2.12-2ubuntu1.6 (fixed in 2:3.2.12-2ubuntu1.6)

References