Vulnerability · Published May 7, 2023 · Assigned by mitre

CVE-2023-31047

Critical 9.8

In plain English

A critical-severity missing authorization in the python-django package (Debian). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.4% (higher than 72% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)9.8Critical
Exploit odds (30 days)1.4%top 27.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12python-django3:3.2.19-1DEBIAN-CVE-2023-31047
Debian:13python-django3:3.2.19-1DEBIAN-CVE-2023-31047
Debian:14python-django3:3.2.19-1DEBIAN-CVE-2023-31047
PyPIdjango3.2.19, 4.1.9, 4.2.1PYSEC-2023-61
PyPIdjango4.2.1GHSA-r3xc-prgr-mg9p
PyPIdjango3.2.19GHSA-r3xc-prgr-mg9p
PyPIdjango4.1.9GHSA-r3xc-prgr-mg9p
Ubuntu:22.04:LTSpython-django2:3.2.12-2ubuntu1.6UBUNTU-CVE-2023-31047
Ubuntu:22.04:LTSpython-django2:3.2.12-2ubuntu1.6USN-6054-1

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

Weakness: CWE-862 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

References