Amenazas en vivo

Todas las CVE / Pyjwt Project

CVE-2022-29217Pyjwt Project Pyjwt

Alta 7.5 Sin autenticación

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.

Texto original de NVD, en inglés. La traducción y el resumen en español llegan pronto.

Qué hacer

  1. Aplica la actualización de seguridad del fabricante para Pyjwt.
  2. Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.

Paquetes afectados

EcosistemaPaqueteVersiones afectadasCorregida enCó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)

FabricanteProductoVersiones
pyjwt_projectpyjwt≥ 1.5.0 < 2.4.0
fedoraprojectfedora35
fedoraprojectfedora36

Fuentes oficiales

Referencias

Enlaces publicados por las fuentes. Ábrelos con criterio.