CVE-2021-3281Djangoproject Django
Media 5.3 Sin autenticación
Seguir: esta CVE · Djangoproject · Djangoproject Django Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 48
- CVSS 3.1
- 5.3
- EPSS
- 7.6% probabilidad de explotación en 30 días · percentil 95
- Requiere autenticación
- No
- Publicada
- 2 feb 2021
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-22
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Qué pasa
In Django 2.2 before 2.2.18, 3.0 before 3.0.12, and 3.1 before 3.1.6, the django.utils.archive.extract method (used by "startapp --template" and "startproject --template") allows directory traversal via an archive with absolute paths or relative paths with dot segments.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Django.
- Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.
Paquetes afectados
| Ecosistema | Paquete | Versiones afectadas | Corregida en | Cómo actualizar |
|---|---|---|---|---|
| PyPI | django |
≥ 2.2 < 2.2.18 |
2.2.18 |
pip install "django>=2.2.18" |
| PyPI | django |
≥ 3.1 < 3.1.6 |
3.1.6 |
pip install "django>=3.1.6" |
| PyPI | django |
≥ 3.0 < 3.0.12 |
3.0.12 |
pip install "django>=3.0.12" |
| PyPI | django |
≥ 2.2 < 2.2.18 |
2.2.18 |
pip install "django>=2.2.18" |
| PyPI | django |
≥ 3.0 < 3.0.12 |
3.0.12 |
pip install "django>=3.0.12" |
| PyPI | django |
≥ 3.1 < 3.1.6 |
3.1.6 |
pip install "django>=3.1.6" |
Según OSV / GitHub Advisories (GHSA-fvgf-6h6h-3322, PYSEC-2021-9). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| djangoproject | django | ≥ 2.2 < 2.2.18 |
| djangoproject | django | ≥ 3.0 < 3.0.12 |
| djangoproject | django | ≥ 3.1 < 3.1.6 |
| fedoraproject | fedora | 33 |
| netapp | snapcenter | todas |
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 Vendor Advisory