CVE-2022-29217Pyjwt Project Pyjwt
Alta 7.5 Sin autenticación
Seguir: esta CVE · Pyjwt Project · Pyjwt Project Pyjwt Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 60
- CVSS 3.1
- 7.5
- EPSS
- 1.4% probabilidad de explotación en 30 días · percentil 72
- Requiere autenticación
- No
- Publicada
- 24 may 2022
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-327
- SSVC (CISA)
- Explotación: ninguna · Automatizable: no · Impacto técnico: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Qué pasa
PyJWT is a Python implementation of RFC 7519. PyJWT supports multiple different JWT signing algorithms. With JWT, an attacker submitting the JWT token can choose the used signing algorithm. The PyJWT library requires that the application chooses what algorithms are supported. The application can specify `jwt.algorithms.get_default_algorithms()` to get support for all algorithms, or specify a single algorithm. The issue is not that big as `algorithms=jwt.algorithms.get_default_algorithms()` has to be used. Users should upgrade to v2.4.0 to receive a patch for this issue. As a workaround, always be explicit with the algorithms that are accepted and expected when decoding.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Pyjwt.
- 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 | pyjwt |
≥ 1.5.0 < 2.4.0 |
2.4.0 |
pip install "pyjwt>=2.4.0" |
| PyPI | pyjwt |
≥ 1.5.0 < 2.4.0 |
2.4.0 |
pip install "pyjwt>=2.4.0" |
Según OSV / GitHub Advisories (GHSA-ffqj-6fqr-9h24, PYSEC-2022-202). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| pyjwt_project | pyjwt | ≥ 1.5.0 < 2.4.0 |
| fedoraproject | fedora | 35 |
| fedoraproject | fedora | 36 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- github.com Patch Third Party Advisory
- github.com Release Notes Third Party Advisory
- github.com Issue Tracking Third Party Advisory
- lists.fedoraproject.org
- lists.fedoraproject.org
- www.vicarius.io