CVE-2017-11424
 
Severity Score
Exploit Likelihood
Affected Versions
Public Exploits
0Exploited in Wild
-Decision
Descriptions
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.
En PyJWT 1.5.0 y anteriores, la comprobación `invalid_strings` en `HMACAlgorithm.prepare_key` no da cuenta de todas las claves públicas codificadas PEM. Específicamente, el formato codificado PKCS1 PEM se permitiría porque va precedido por la cadena `-----BEGIN RSA PUBLIC KEY-----`, la cual no se tiene en cuenta. Esto permite ataques simétricos/asimétricos de confusión de claves contra usuarios que empleen las claves públicas PKCS1 PEM, que permitirían que un atacante manipulase JWT desde cero.
CVSS Scores
SSVC
- Decision:-
Timeline
- 2017-07-18 CVE Reserved
- 2017-08-24 CVE Published
- 2023-11-28 EPSS Updated
- 2024-08-05 CVE Updated
- ---------- Exploited in Wild
- ---------- KEV Due Date
- ---------- First Exploit
CWE
CAPEC
References (2)
URL | Tag | Source |
---|
URL | Date | SRC |
---|
URL | Date | SRC |
---|---|---|
https://github.com/jpadilla/pyjwt/pull/277 | 2019-10-03 |
URL | Date | SRC |
---|---|---|
http://www.debian.org/security/2017/dsa-3979 | 2019-10-03 |
Affected Vendors, Products, and Versions
Vendor | Product | Version | Other | Status | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Vendor | Product | Version | Other | Status | <-- --> | Vendor | Product | Version | Other | Status |
Pyjwt Project Search vendor "Pyjwt Project" | Pyjwt Search vendor "Pyjwt Project" for product "Pyjwt" | <= 1.5.0 Search vendor "Pyjwt Project" for product "Pyjwt" and version " <= 1.5.0" | - |
Affected
| ||||||
Debian Search vendor "Debian" | Debian Linux Search vendor "Debian" for product "Debian Linux" | 8.0 Search vendor "Debian" for product "Debian Linux" and version "8.0" | - |
Affected
| ||||||
Debian Search vendor "Debian" | Debian Linux Search vendor "Debian" for product "Debian Linux" | 9.0 Search vendor "Debian" for product "Debian Linux" and version "9.0" | - |
Affected
|