CVE-2022-40897Python Setuptools
Media 5.9 Sin autenticación
Seguir: esta CVE · Python · Python Setuptools Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 51
- CVSS 3.1
- 5.9
- EPSS
- 2.3% probabilidad de explotación en 30 días · percentil 84
- Requiere autenticación
- No
- Publicada
- 23 dic 2022
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-1333
- SSVC (CISA)
- Explotación: ninguna · Automatizable: no · Impacto técnico: parcial
- Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Qué pasa
Python Packaging Authority (PyPA) setuptools before 65.5.1 allows remote attackers to cause a denial of service via HTML in a crafted package or custom PackageIndex page. There is a Regular Expression Denial of Service (ReDoS) in package_index.py.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Setuptools.
- 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 | setuptools |
< 65.5.1 |
65.5.1 |
pip install "setuptools>=65.5.1" |
| PyPI | setuptools |
< 65.5.1 |
65.5.1 |
pip install "setuptools>=65.5.1" |
Según OSV / GitHub Advisories (GHSA-r9hx-vwmv-q579, PYSEC-2022-43012). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| python | setuptools | < 65.5.1 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- github.com Third Party Advisory
- github.com Patch Third Party Advisory
- github.com Release Notes Third Party Advisory
- lists.fedoraproject.org
- lists.fedoraproject.org
- pyup.io Exploit Patch Technical Description
- pyup.io Third Party Advisory
- security.netapp.com
- security.netapp.com
- lists.debian.org