CVE-2021-33203Djangoproject Django
Media 4.9
Seguir: esta CVE · Djangoproject · Djangoproject Django Te avisamos por email o Slack (requiere cuenta).
- 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.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Django.
Paquetes afectados
| Ecosistema | Paquete | Versiones afectadas | Corregida en | Có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)
| Fabricante | Producto | Versiones |
|---|---|---|
| djangoproject | django | < 2.2.24 |
| djangoproject | django | ≥ 3.0.0 < 3.1.12 |
| djangoproject | django | ≥ 3.2.0 < 3.2.4 |
| fedoraproject | fedora | 35 |
Boletines oficiales
- python313-Django5-5.2.16-1.1 on GA media · SUSE · openSUSE-SU-2026:11270-1 · 14 jul 2026 Crítica
- python313-Django-5.2.16-1.1 on GA media · SUSE · openSUSE-SU-2026:11248-1 · 10 jul 2026 Crítica
- python313-Django4-4.2.30-4.1 on GA media · SUSE · openSUSE-SU-2026:11235-1 · 9 jul 2026 Crítica
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.
- docs.djangoproject.com Patch Vendor Advisory
- groups.google.com
- lists.fedoraproject.org
- security.netapp.com Third Party Advisory
- www.djangoproject.com Patch Vendor Advisory