CVE-2021-32052Djangoproject Django
Media 6.1 Sin autenticación
Seguir: esta CVE · Djangoproject · Djangoproject Django Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 52
- CVSS 3.1
- 6.1
- EPSS
- 2.7% probabilidad de explotación en 30 días · percentil 87
- Requiere autenticación
- No
- Publicada
- 6 may 2021
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-79
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Qué pasa
In Django 2.2 before 2.2.22, 3.1 before 3.1.10, and 3.2 before 3.2.2 (with Python 3.9.5+), URLValidator does not prohibit newlines and tabs (unless the URLField form field is used). If an application uses values with newlines in an HTTP response, header injection can occur. Django itself is unaffected because HttpResponse prohibits newlines in HTTP headers.
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.22 |
2.2.22 |
pip install "django>=2.2.22" |
| PyPI | django |
≥ 3.1 < 3.1.10 |
3.1.10 |
pip install "django>=3.1.10" |
| PyPI | django |
≥ 3.2 < 3.2.2 |
3.2.2 |
pip install "django>=3.2.2" |
| PyPI | django |
≥ 2.2 < 2.2.22 |
2.2.22 |
pip install "django>=2.2.22" |
| PyPI | django |
≥ 3.1 < 3.1.10 |
3.1.10 |
pip install "django>=3.1.10" |
| PyPI | django |
≥ 3.2 < 3.2.2 |
3.2.2 |
pip install "django>=3.2.2" |
Según OSV / GitHub Advisories (GHSA-qm57-vhq3-3fwf, PYSEC-2021-8). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| djangoproject | django | ≥ 2.2 < 2.2.22 |
| djangoproject | django | ≥ 3.1 < 3.1.10 |
| djangoproject | django | ≥ 3.2 < 3.2.2 |
| fedoraproject | fedora | 34 |
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.
- www.openwall.com Mailing List Patch Third Party Advisory
- docs.djangoproject.com Patch Vendor Advisory
- groups.google.com
- lists.fedoraproject.org
- security.netapp.com Third Party Advisory
- www.djangoproject.com Patch Vendor Advisory