Vulnerabilidades / CVE-2023-31047

crítica

CVE-2023-31047

python-django: Potential bypass of validation when uploading multiple files using one form field

Publicada Modificada CWE 20, 862
En la Trivy database desde, como mínimo, el 24 oct 2026, 07:11 UTCNo consta cuándo entró antes de ese build.

Severidad por fuente

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GHSA9.3CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Red Hat6.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L
Bitnami9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

La etiqueta propia de Trivy es CRITICAL. Crítica según NVD, GHSA, Bitnami. Más baja según Red Hat (media), Ubuntu (baja).

Descripción

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.

Paquetes afectados y versiones corregidas

FuentePaqueteCorregido en
bitnami::Bitnami Vulnerability Databasedjango3.2.19, 4.1.9
pip::GitHub Security Advisory pipdjango3.2.19, 4.1.9, 4.2.1
debian 10python-django1:1.11.29-1+deb10u8
debian 11python-django2:2.2.28-1~deb11u2
debian 12python-django3:3.2.19-1
debian 13python-django3:3.2.19-1
debian 14python-django3:3.2.19-1
echopython-django3:3.2.19-1
Red Hatpython-django, python2-djangosin corrección indicada
ubuntu 14.04-ESMpython-django1.6.11-0ubuntu1.3+esm6
ubuntu 16.04-ESMpython-django1.8.7-1ubuntu5.15+esm7
ubuntu 18.04python-django1:1.11.11-1ubuntu1.21
Mostrar las 19 entradas de 18 fuentes
FuentePaqueteCorregido en
bitnami::Bitnami Vulnerability Databasedjango3.2.19, 4.1.9
pip::GitHub Security Advisory pipdjango3.2.19, 4.1.9, 4.2.1
debian 10python-django1:1.11.29-1+deb10u8
debian 11python-django2:2.2.28-1~deb11u2
debian 12python-django3:3.2.19-1
debian 13python-django3:3.2.19-1
debian 14python-django3:3.2.19-1
echopython-django3:3.2.19-1
Red Hatpython-djangosin corrección indicada
Red Hatpython2-djangosin corrección indicada
ubuntu 14.04-ESMpython-django1.6.11-0ubuntu1.3+esm6
ubuntu 16.04-ESMpython-django1.8.7-1ubuntu5.15+esm7
ubuntu 18.04python-django1:1.11.11-1ubuntu1.21
ubuntu 18.04-ESMpython-django1:1.11.11-1ubuntu1.21
ubuntu 20.04python-django2:2.2.12-1ubuntu0.17
ubuntu 20.04-ESMpython-django2:2.2.12-1ubuntu0.17
ubuntu 22.04python-django2:3.2.12-2ubuntu1.6
ubuntu 22.10python-django3:3.2.15-1ubuntu1.3
ubuntu 23.04python-django3:3.2.18-1ubuntu0.1

Referencias

Las 22 referencias

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.