CVE-2017-11424: High severity pyjwt vulnerability

Published Aug 24, 2017
·
Updated

In PyJWT 1.5.0 and below the invalidstrings check in HMACAlgorithm.preparekey 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 Software

4 affected componentsFixes available
pip/pyjwt<1.5.1
1.5.1
Pyjwt Project Pyjwt<=1.5.0
Debian Debian Linux=8.0
Debian Debian Linux=9.0

Event History

Aug 24, 2017
CVE Published
via MITRE·04:00 PM
Data Sourced
via MITRE·04:00 PM
Description
May 13, 2022
Advisory Published
via GitHub·01:42 AM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2017-11424?

CVE-2017-11424 has been assigned a medium severity rating due to its potential to allow unauthorized access through certain PEM encoded keys.

2

How do I fix CVE-2017-11424?

To fix CVE-2017-11424, upgrade PyJWT to version 1.5.1 or later.

3

Which versions of PyJWT are affected by CVE-2017-11424?

CVE-2017-11424 affects PyJWT versions 1.5.0 and below.

4

What types of keys are impacted by CVE-2017-11424?

CVE-2017-11424 specifically impacts PEM encoded keys that are in PKCS1 format.

5

Is Debian Linux affected by CVE-2017-11424?

Yes, Debian Linux versions 8.0 and 9.0 are affected by CVE-2017-11424 due to their inclusion of the vulnerable PyJWT package.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203