CVE-2023-31047

Severity CVSS v4.0:
Pending analysis
Type:
CWE-20 Input Validation
Publication date:
07/05/2023
Last modified:
29/01/2025

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.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* 3.2 (including) 3.2.19 (excluding)
cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* 4.0 (including) 4.1.9 (excluding)
cpe:2.3:a:djangoproject:django:4.2:-:*:*:*:*:*:*
cpe:2.3:a:djangoproject:django:4.2:b1:*:*:*:*:*:*
cpe:2.3:a:djangoproject:django:4.2:rc1:*:*:*:*:*:*
cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:*