CVE-2012-3442Djangoproject Django
Media 4.3 Sin autenticación
- Prioridad
- 41
- CVSS 2.0
- 4.3
- EPSS
- —
- Requiere autenticación
- No
- Publicada
- 31 jul 2012
- Actualizada
- 16 jun 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-79
- Vector
AV:N/AC:M/Au:N/C:N/I:P/A:N
Qué pasa
The (1) django.http.HttpResponseRedirect and (2) django.http.HttpResponsePermanentRedirect classes in Django before 1.3.2 and 1.4.x before 1.4.1 do not validate the scheme of a redirect target, which might allow remote attackers to conduct cross-site scripting (XSS) attacks via a data: URL.
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 |
< 1.3.2 |
1.3.2 |
pip install "django>=1.3.2" |
| PyPI | django |
≥ 1.4 < 1.4.1 |
1.4.1 |
pip install "django>=1.4.1" |
| PyPI | django |
< 1.3.2 |
1.3.2 |
pip install "django>=1.3.2" |
| PyPI | django |
≥ 1.4 < 1.4.1 |
1.4.1 |
pip install "django>=1.4.1" |
Según OSV / GitHub Advisories (GHSA-78vx-ggch-wghm, PYSEC-2012-2). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| djangoproject | django | < 1.3.2 |
| djangoproject | django | 1.4 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- www.debian.org Third Party Advisory
- www.mandriva.com Broken Link
- www.openwall.com Mailing List Third Party Advisory
- www.openwall.com Mailing List Third Party Advisory
- www.ubuntu.com Broken Link
- www.djangoproject.com Patch Vendor Advisory