CRITICAL9.8
PYSEC-2023-61
Quick fix
PYSEC-2023-61 — django: upgrade to the fixed version with the command below.
pip install --upgrade 'django>=3.2.19'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.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://www.djangoproject.com/weblog/2023/may/03/security-releases/[ADVISORY]
- https://docs.djangoproject.com/en/4.2/releases/security/[ADVISORY]
- https://groups.google.com/forum/#!forum/django-announce[ARTICLE]
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/A45VKTUVQ2BN6D5ZLZGCM774R6QGFOHW/[REPORT]
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/A45VKTUVQ2BN6D5ZLZGCM774R6QGFOHW/[WEB]
- https://github.com/advisories/GHSA-r3xc-prgr-mg9p[ADVISORY]