CVE-2017-11424Pyjwt 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.0
- 7.5
- EPSS
- 1.8% probabilidad de explotación en 30 días · percentil 79
- Requiere autenticación
- No
- Publicada
- 24 ago 2017
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Qué pasa
In PyJWT 1.5.0 and below the `invalid_strings` check in `HMACAlgorithm.prepare_key` does not account for all PEM encoded public keys. Specifically, the PKCS1 PEM encoded format would be allowed because it is prefaced with the string `-----BEGIN RSA PUBLIC KEY-----` which is not accounted for. This enables symmetric/asymmetric key confusion attacks against users using the PKCS1 PEM encoded public keys, which would allow an attacker to craft JWTs from scratch.
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.1 |
1.5.1 |
pip install "pyjwt>=1.5.1" |
| PyPI | pyjwt |
< 1.5.1 |
1.5.1 |
pip install "pyjwt>=1.5.1" |
Según OSV / GitHub Advisories (GHSA-r9jw-mwhq-wp62, PYSEC-2017-24). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| pyjwt_project | pyjwt | ≤ 1.5.0 |
| debian | debian_linux | 8.0 |
| debian | debian_linux | 9.0 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- www.debian.org Third Party Advisory
- github.com Issue Tracking Patch Third Party Advisory