CVE-2023-31047
Critical
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.
SeverityCritical
CVSS9.8
Exploit probability—
Product
Django
PublishedMay 7, 2023
First seenMay 7, 2023
Weakness typeCWE-862Missing authorization
How to fix
Update
- djangoproject django3.2.19, 4.1.9 or later
- django3.2.19, 4.1.9, 4.2.1 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| djangoproject django | 3.2 ≤ v < 3.2.19, 4.0 ≤ v < 4.1.9, 4.2 | 3.2.19, 4.1.9 |
| fedoraproject fedora | 38 | — |
| djangoPyPI | 3.2a1 ≤ v < 3.2.19, 4.0a1 ≤ v < 4.1.9, 4.2a1 ≤ v < 4.2.1, 3.2 ≤ v < 3.2.19, 4.0 ≤ v < 4.1.9, 4.2 ≤ v < 4.2.1 | 3.2.19, 4.1.9, 4.2.1 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.