cve.bz

CVE-2023-31047 Missing Authorization

9.8 criticalEPSS 1.4%Fix available

Critical (9.8). EPSS 1.4% estimated probability of exploitation activity in the next 30 days. Fixed in django 3.2.19, 4.1.9, 4.2.1.

On this page
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.

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
1.4% (unchanged from 1.4% a week ago; 1.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 73rd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: total, assessed 2025-01-29. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-20 Improper Input Validation
CWE-862 Missing Authorization
OWASP Top 10
A01:2025 Broken Access Control, A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-31047 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-31047?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-31047?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-31047 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
djangoproject:djangofrom 3.2 before 3.2.19
djangoproject:djangofrom 4.0 before 4.1.9
djangoproject:django4.2
djangoproject:django4.2:b1
djangoproject:django4.2:rc1
fedoraproject:fedora38

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-r3xc-prgr-mg9pPyPIdjango>=3.2a1 <3.2.193.2.19
GHSA-r3xc-prgr-mg9pPyPIdjango>=4.0a1 <4.1.94.1.9
GHSA-r3xc-prgr-mg9pPyPIdjango>=4.2a1 <4.2.14.2.1
PYSEC-2023-61PyPIdjango>=3.2 <3.2.19
>=4.0 <4.1.9
>=4.2 <4.2.1
3.2.19, 4.1.9, 4.2.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10python-django1:1.11.29-1+deb10u8DLA-3415-1
Debian12, 13, 14python-django3:3.2.19-1DEBIAN-CVE-2023-31047
Ubuntu18.04:LTSpython-django1:1.11.11-1ubuntu1.21UBUNTU-CVE-2023-31047 USN-6054-1
Ubuntu20.04:LTSpython-django2:2.2.12-1ubuntu0.17UBUNTU-CVE-2023-31047 USN-6054-1
Ubuntu22.04:LTSpython-django2:3.2.12-2ubuntu1.6UBUNTU-CVE-2023-31047 USN-6054-1
UbuntuPro:14.04:LTSpython-django1.6.11-0ubuntu1.3+esm6UBUNTU-CVE-2023-31047 USN-6054-2
UbuntuPro:16.04:LTSpython-django1.8.7-1ubuntu5.15+esm7UBUNTU-CVE-2023-31047 USN-6054-2
Red Hatrhui:4::el8python-django, python39-django0:3.2.19-1.0.1.el8uiRHSA-2023:4591
Red Hatrhui:4::el8python-sqlparse, python39-sqlparse0:0.4.4-1.0.1.el8uiRHSA-2023:4591
Red Hatsatellite:6.13::el8foreman, foreman-cli, foreman-ec2 and 10 more0:3.5.1.23-1.el8satRHSA-2023:5931
Red Hatsatellite:6.13::el8rubygem-git0:1.18.0-1.el8satRHSA-2023:5931
Red Hatsatellite:6.13::el8yggdrasil-worker-forwarder0:0.0.3-1.el8satRHSA-2023:5931
Red Hatsatellite:6.13::el8, satellite_capsule:6.13::el8puppet-agent0:7.26.0-3.el8satRHSA-2023:5931
Red Hatsatellite:6.13::el8, satellite_capsule:6.13::el8python-django, python39-django0:3.2.21-1.el8pcRHSA-2023:5931
Red Hatsatellite:6.13::el8, satellite_capsule:6.13::el8python-gitpython, python39-gitpython0:3.1.32-1.el8pcRHSA-2023:5931
Red Hatsatellite:6.14::el8foreman, foreman-cli, foreman-ec2 and 11 more0:3.7.0.9-1.el8satRHSA-2023:6818
Red Hatsatellite:6.14::el8rubygem-actionpack, rubygem-activerecord, rubygem-activesupport0:6.1.7.3-1.el8satRHSA-2023:6818
Red Hatsatellite:6.14::el8rubygem-git0:1.18.0-1.el8satRHSA-2023:6818
Red Hatsatellite:6.14::el8rubygem-globalid0:1.1.0-1.el8satRHSA-2023:6818
15 more for Red Hat in the JSON and on Red Hat's page.
openSUSELeap 15.5python-Django2.0.7-150000.1.11.1SUSE-SU-2023:2839-1
openSUSETumbleweedpython-Django4.2.1-1.1openSUSE-SU-2024:12943-1
openSUSETumbleweedpython-Django5.2.16-1.1openSUSE-SU-2026:11248-1
openSUSETumbleweedpython-Django44.2.14-1.1openSUSE-SU-2024:14208-1
openSUSETumbleweedpython-Django44.2.30-4.1openSUSE-SU-2026:11235-1
openSUSETumbleweedpython-Django55.2.16-1.1openSUSE-SU-2026:11270-1
openSUSETumbleweedpython-Django66.0-1.1openSUSE-SU-2026:10005-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

Red Hat Satellite and Red Hat Update Infrastructure individual impact ratings have been set to Low since initial privileges are required in order to access the server and the vulnerable functionality.

ProductPackageStateAdvisory
Red Hat Satellite 6.13 for RHEL 8python-django-0:3.2.21-1.el8pcFixed 2023-10-19RHSA-2023:5931
Red Hat Satellite 6.14 for RHEL 8python-django-0:3.2.21-1.el8pcFixed 2023-11-08RHSA-2023:6818
RHUI 4 for RHEL 8python-django-0:3.2.19-1.0.1.el8uiFixed 2023-08-09RHSA-2023:4591
Red Hat Ansible Automation Platform 2python-djangoNot affected
Red Hat Ceph Storage 3python-djangoNot affected
Red Hat OpenStack Platform 13 (Queens)python-djangoNot affected
Red Hat OpenStack Platform 16.1python-django20Not affected
Red Hat OpenStack Platform 16.2python-django20Not affected
Red Hat OpenStack Platform 17.0python-djangoNot affected
Red Hat Storage 3python-djangoNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-31047.

Attack patterns (CAPEC)

  • CAPEC-665 Exploitation of Thunderbolt Protection Flaws Likelihood: Low · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-20 (51).

References

Check your stackJSON