{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2017-11424","published":"2017-08-24T16:29:00.197000Z","last_modified":"2026-06-17T01:01:47.717000Z","status":"Modified","cvss":{"version":"3.0","score":7.5,"severity":"HIGH","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":[],"cpes":[{"criteria":"cpe:2.3:a:pyjwt_project:pyjwt:*:*:*:*:*:*:*:*","part":"a","vendor":"pyjwt_project","product":"pyjwt","version_end_including":"1.5.0"},{"criteria":"cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*","part":"o","vendor":"debian","product":"debian_linux","version":"8.0"},{"criteria":"cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*","part":"o","vendor":"debian","product":"debian_linux","version":"9.0"}],"cpes_truncated":false,"vendors":["pyjwt_project","debian"],"products":["pyjwt_project/pyjwt","debian/debian_linux"],"epss":{"score":0.01789,"percentile":0.78889,"date":"2026-11-28","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-r9jw-mwhq-wp62","ecosystem":"PyPI","name":"pyjwt","purl":"pkg:pypi/pyjwt","ranges":[{"introduced":"0","fixed":"1.5.1"}],"versions":["0.1.1","0.1.2","0.1.3","0.1.4","0.1.5","0.1.6","0.1.7","0.1.8","0.1.9","0.2.0","0.2.1","0.2.3","0.3.0","0.3.1","0.3.2","0.4.0","0.4.1","0.4.2","0.4.3","1.0.0","1.0.1","1.1.0","1.3.0","1.4.0","1.4.1","1.4.2","1.5.0"],"versions_truncated":false},{"advisory":"PYSEC-2017-24","ecosystem":"PyPI","name":"pyjwt","purl":"pkg:pypi/pyjwt","ranges":[{"introduced":"0","fixed":"1.5.1"}],"versions":["0.1.1","0.1.2","0.1.3","0.1.4","0.1.5","0.1.6","0.1.7","0.1.8","0.1.9","0.2.0","0.2.1","0.2.3","0.3.0","0.3.1","0.3.2","0.4.0","0.4.1","0.4.2","0.4.3","1.0.0","1.0.1","1.1.0","1.3.0","1.4.0","1.4.1","1.4.2","1.5.0"],"versions_truncated":false}],"severity":"high","priority_score":60,"links":{"html_es":"/es/cve/CVE-2017-11424/","html_en":"/en/cve/CVE-2017-11424/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2017-11424","cve_org":"https://www.cve.org/CVERecord?id=CVE-2017-11424"},"untrusted":{"vendor_name":"Pyjwt Project","product_name":"Pyjwt","desc_en":"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.","affected":[],"references":[{"url":"http://www.debian.org/security/2017/dsa-3979","tags":["Third Party Advisory"]},{"url":"https://github.com/jpadilla/pyjwt/pull/277","tags":["Issue Tracking","Patch","Third Party Advisory"]}]}}