Amenazas en vivo

Todas las CVE / Djangoproject

CVE-2021-33203Djangoproject Django

Media 4.9

Prioridad
30
CVSS 3.1
4.9
EPSS
2.5%
probabilidad de explotación en 30 días · percentil 85
Requiere autenticación
Sí
Publicada
8 jun 2021
Actualizada
17 jun 2026
Categoría
Aplicación · Multiplataforma
Debilidad (CWE)
CWE-22
Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N

Qué pasa

Django before 2.2.24, 3.x before 3.1.12, and 3.2.x before 3.2.4 has a potential directory traversal via django.contrib.admindocs. Staff members could use the TemplateDetailView view to check the existence of arbitrary files. Additionally, if (and only if) the default admindocs templates have been customized by application developers to also show file contents, then not only the existence but also the file contents would have been exposed. In other words, there is directory traversal outside of the template root directories.

Texto original de NVD, en inglés. La traducción y el resumen en español llegan pronto.

Qué hacer

  1. Aplica la actualización de seguridad del fabricante para Django.

Paquetes afectados

EcosistemaPaqueteVersiones afectadasCorregida enCómo actualizar
PyPI django < 2.2.24 2.2.24 pip install "django>=2.2.24"
PyPI django ≥ 3.0 < 3.1.12 3.1.12 pip install "django>=3.1.12"
PyPI django ≥ 3.2 < 3.2.4 3.2.4 pip install "django>=3.2.4"
PyPI django < 2.2.24 2.2.24 pip install "django>=2.2.24"
PyPI django ≥ 3.0 < 3.1.12 3.1.12 pip install "django>=3.1.12"
PyPI django ≥ 3.2 < 3.2.4 3.2.4 pip install "django>=3.2.4"

Según OSV / GitHub Advisories (GHSA-68w8-qjq3-2gfm, PYSEC-2021-98). Verifica la versión en tu lockfile antes de actualizar.

Productos afectados (CPE)

FabricanteProductoVersiones
djangoprojectdjango< 2.2.24
djangoprojectdjango≥ 3.0.0 < 3.1.12
djangoprojectdjango≥ 3.2.0 < 3.2.4
fedoraprojectfedora35

Boletines oficiales

Además: SUSE (+1)

Avisos de fabricantes, CERT y distribuciones que nombran esta CVE. Títulos sin modificar.

Fuentes oficiales

Referencias

Enlaces publicados por las fuentes. Ábrelos con criterio.