CVE-2023-31047

high
Published 2023-05-07 · Modified 2023-12-06
CVSS v3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v2
VIR risk
8.0

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.

Predictions

Exploit likelihood
30%
Patch ETA

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

vendor Authored 2026-05-27

Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2023-31047

vendor Authored 2026-05-27

Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2023-31047.html

vendor Authored 2026-05-27

Vendor advisory: rocky — https://errata.rockylinux.org/RLSA-2023:6818

OS impact

OSVersionStatusFixed in
rockylinux rocky8fixed
suse slesaffected
debian debianbookwormfixed3:3.2.19-1
debian debianbullseyefixed2:2.2.28-1~deb11u2
debian debianforkyfixed3:3.2.19-1
debian debiansidfixed3:3.2.19-1
debian debiantrixiefixed3:3.2.19-1

Package impact

EcosystemPackageVulnerableFixed
python PyPIdjango>=3.2a1,<3.2.193.2.19
python PyPIdjango>=4.0a1,<4.1.94.1.9
python PyPIdjango>=4.2a1,<4.2.14.2.1
python PyPIdjango>=4.2,<4.2.13.2.19

References

Verify integrity in audit chain (admin only). AS-IS.