Debian LTS: DLA-3415-1: python-django security update
Summary
Uploading multiple files using one form field has never been
supported by forms.FileField or forms.ImageField, as only the last
uploaded file was ever validated. Unfortunately, the uploading
multiple files topic in the documentation suggested otherwise.
In order to avoid a vulnerability, ClearableFileInput and FileInput
form widgets now raise ValueError when the multiple HTML attribute is
set on them. To prevent the exception and keep the old behavior, set
allow_multiple_selected to True.
For more details on using the new attribute and handling of multiple
files through a single field, please see:
https://www.djangoproject.com/weblog/2023/may/03/security-releases/
For Debian 10 buster, this problem has been fixed in version
1:1.11.29-1+deb10u8.
We recommend that you upgrade your python-django packages.
For the detailed security status of python-django please refer to
its security tracker page at:
https://security-tracker.debian.org/tracker/source-package/python-django
Further information about Debia...