CVE-2023-31047
Last modified
CVE-2023-31047 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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). EPSS estimates a 1.38% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Djangoproject | Django | >= 3.2, < 3.2.19 |
| Djangoproject | Django | >= 4.0, < 4.1.9 |
| Djangoproject | Django | 4.2 |
| Fedoraproject | Fedora | 38 |
References
- https://docs.djangoproject.com/en/4.2/releases/security/Vendor Advisory
- https://docs.djangoproject.com/en/4.2/releases/security/Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2023-31047?
How severe is CVE-2023-31047?
How do I fix CVE-2023-31047?
Are you affected by CVE-2023-31047?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
