CVE-2017-11424
Last modified
CVE-2017-11424 is a vulnerability of currently unknown severity. 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. EPSS estimates a 1.80% chance of exploitation in the next 30 days.
Description
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.
Metrics
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Pyjwt Project | Pyjwt | <= 1.5.0 |
| Debian | Debian Linux | 8.0 |
| Debian | Debian Linux | 9.0 |
References
- http://www.debian.org/security/2017/dsa-3979Third Party Advisory
- https://github.com/jpadilla/pyjwt/pull/277Issue Tracking, Patch, Third Party Advisory
- http://www.debian.org/security/2017/dsa-3979Third Party Advisory
- https://github.com/jpadilla/pyjwt/pull/277Issue Tracking, Patch, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2017-11424?
How severe is CVE-2017-11424?
How do I fix CVE-2017-11424?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2017
- CVE-2017-11419Fiyo CMS 2.0.7 has SQL injection in /apps/app_article/contro…
- CVE-2017-1142IBM Kenexa LCMS Premier on Cloud 9.x and 10.0 could allow a …
- CVE-2017-11420Stack-based buffer overflow in ASUS_Discovery.c in networkma…
- CVE-2017-11421gnome-exe-thumbnailer before 0.9.5 is prone to a VBScript In…
- CVE-2017-11422Statamic framework before 2.6.0 does not correctly check a s…8.8
- CVE-2017-11423The cabd_read_string function in mspack/cabd.c in libmspack …
- CVE-2017-11427OneLogin PythonSAML 2.3.0 and earlier may incorrectly utiliz…7.7
- CVE-2017-11428OneLogin Ruby-SAML 1.6.0 and earlier may incorrectly utilize…7.7
- CVE-2017-11429Clever saml2-js 2.0 and earlier may incorrectly utilize the …7.7
- CVE-2017-1143IBM Kenexa LCMS Premier on Cloud 9.x and 10.0 could allow a …
- CVE-2017-11430OmniAuth OmnitAuth-SAML 1.9.0 and earlier may incorrectly ut…7.7
- CVE-2017-11434The dhcp_decode function in slirp/bootp.c in QEMU (aka Quick…5.5
Are you affected by CVE-2017-11424?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
