[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[SECURITY] [DLA 3415-1] python-django security update



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

- -------------------------------------------------------------------------
Debian LTS Advisory DLA-3415-1                debian-lts@lists.debian.org
https://www.debian.org/lts/security/                           Chris Lamb
May 05, 2023                                  https://wiki.debian.org/LTS
- -------------------------------------------------------------------------

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

It was discovered that there was a potential validation bypass in
Django, a popular Python-based web development framework.

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/python-django

Further information about Debian LTS security advisories, how to apply
these updates to your system and frequently asked questions can be
found at: https://wiki.debian.org/LTS

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEwv5L0nHBObhsUz5GHpU+J9QxHlgFAmRVZncACgkQHpU+J9Qx
Hlhqag//WytI5Cg0i+6VoSn1BO7ytWNJEongfE5H3eRk7WWjlVh6sag7DkLyrDpR
p43Oa1d3UvTVYOvhvsYyDvAwTJEzUYB2ODcNmDhgN8cZbWimtqQ//jlKY/7zLv63
W3ln1e6Qh5uBqwqffSkh6ZlnlIicimUeuYpAvrEadVmusa1c/5Dk4IUX1+maqvsr
x//MeLK2lodGYFfhYhQyk9aXYYSzG5XR6utRF/foNZz9H3pxMtRibSQzWdoqZE3X
CQMC9af1uKioWUvRIUlTlYos9Xpj3CrwNn9X2cudITQvPF/XrjRIYLwuyjG7O7TV
tv4M68z1JTBHR7ROaSvHnnnN1abDU7RB8+NTn3sVx1+5MESkEEJqPldH4tdm6VVf
S66k7D44fKQ79e+oyryZYiSjqioRWW7zp6IdRJmIe4XPjfS3+BpHzbUYahU/BQp7
VS9hLiuqWWdL4sWEQ+hVNIKxKXbelGQ2WbJkHTtflBZNy97pg5ugM/9Gy8XxMgH+
m2kBfbaO10vZzA41AmW10AUkcR88Su7+XsFgw4FRGOCsCJ+cBPm1Buc5pGvXqOc9
BmgIsszbEaeODxIT9uhFtfetXUaIubDb+u/Ae9M8z1uEOtfCeHNOfG5/uCEfh8A/
mS3HxwSNUnS/fY5hXBl1N8sWWRap7V3mrJoAQ9YaPSrprAOC8ys=
=Xepl
-----END PGP SIGNATURE-----


Reply to: