Alerts This Week
Warning Icon 1 626
Alerts This Week
Warning Icon 1 626

Debian Bullseye: DLA-4520-2 High: Python-Django Security Flaw

debian lts
Calendar Grey May 5, 2023
Dist Debian Esm H88
Enhance your python-django libraries to prevent security loopholes. Check the advisory for Debian subscribers for further information.
It was discovered that there was a potential validation bypass in Django, a popular Python-based web development framework

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

Read the Full Advisory


Package: python-django
Version: 1:1.11.29-1+deb10u8
CVE ID: CVE-2023-31047
Debian Bug: 1035467

Get the latest News and Insights

Get the latest Linux and open source security news straight to your inbox.

Related News

Your message here