CVE-2023-31047

CRITICALCVSS 9.8/10EPSS 1.38%

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
9.8/10

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

EPSS Probability
1.38%

68.6th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
DjangoprojectDjango>= 3.2, < 3.2.19
DjangoprojectDjango>= 4.0, < 4.1.9
DjangoprojectDjango4.2
FedoraprojectFedora38

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is CVE-2023-31047?
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.
How severe is CVE-2023-31047?
CVE-2023-31047 has a CVSS score of 9.8/10 (CRITICAL severity). The EPSS model estimates a 1.38% probability of exploitation in the next 30 days.
How do I fix CVE-2023-31047?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2023-31047?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST