django
Affected
- introduced
3.2a1, fixed3.2.19(ecosystem)
Fixed versions
3.2.19
Fix
- Fixed version
3.2.19pip install --upgrade django==3.2.19
Advisory
Also known as: BIT-django-2023-31047, CVE-2023-31047, PYSEC-2023-61
Django bypasses validation when using one form field to upload multiple files
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.
Critical Basis: The source's own band: CRITICAL
3.2a1, fixed 3.2.19 (ecosystem)3.2.19
3.2.19pip install --upgrade django==3.2.194.0a1, fixed 4.1.9 (ecosystem)4.1.9
4.1.9pip install --upgrade django==4.1.94.2a1, fixed 4.2.1 (ecosystem)4.2.1
4.2.1pip install --upgrade django==4.2.1Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0