CVE-2022-34265Djangoproject Django
Crítica 9.8 Sin autenticaciónEPSS alto
Seguir: esta CVE · Djangoproject · Djangoproject Django Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 76
- CVSS 3.1
- 9.8
- EPSS
- 21.3% probabilidad de explotación en 30 días · percentil 98
- Requiere autenticación
- No
- Publicada
- 4 jul 2022
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-89
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Qué pasa
An issue was discovered in Django 3.2 before 3.2.14 and 4.0 before 4.0.6. The Trunc() and Extract() database functions are subject to SQL injection if untrusted data is used as a kind/lookup_name value. Applications that constrain the lookup name and kind choice to a known safe list are unaffected.
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 |
≥ 3.2a1 < 3.2.14 |
3.2.14 |
pip install "django>=3.2.14" |
| PyPI | django |
≥ 4.0a1 < 4.0.6 |
4.0.6 |
pip install "django>=4.0.6" |
| PyPI | django |
≥ 3.2 < 3.2.14 |
3.2.14 |
pip install "django>=3.2.14" |
| PyPI | django |
≥ 4.0 < 4.0.6 |
4.0.6 |
pip install "django>=4.0.6" |
Según OSV / GitHub Advisories (GHSA-p64x-8rxx-wf6q, PYSEC-2022-213). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| djangoproject | django | ≥ 3.2 < 3.2.14 |
| djangoproject | django | ≥ 4.0 < 4.0.6 |
Boletines oficiales
- python313-Django5-5.2.16-1.1 on GA media · SUSE · openSUSE-SU-2026:11270-1 · 14 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
- python312-Django6-6.0-1.1 on GA media · SUSE · openSUSE-SU-2026:10005-1 · 3 ene 2026 Crítica
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
- lists.fedoraproject.org
- security.netapp.com Third Party Advisory
- www.debian.org Third Party Advisory
- www.djangoproject.com Patch Vendor Advisory