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—
ProductDjango
PublishedMay 7, 2023
First seenMay 7, 2023

How to fix

Affected products

ProductAffected versionsFixed in
djangoproject django3.2 ≤ v < 3.2.19, 4.0 ≤ v < 4.1.9, 4.23.2.19, 4.1.9
fedoraproject fedora38—
djangoPyPI3.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.13.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.