VDB
CVE-2017-11424
CVE-2017-11424
PUBLISHED
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.
EPSS 0.19% · 41.1th percentile
Risk Scores
EPSS Score
0.19%
41.1th percentile
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Ubuntu:16.04:LTS | pyjwt | 0, 1.0.0-0ubuntu1, 1.3.0-1 |
Exploit Intelligence
- DSA-3979 (circl)
- https://github.com/jpadilla/pyjwt/pull/277 (circl)
- header_inject_test.go (github-poc)
- header_inject_test.go (github-poc)
- header_inject_test.go (github-poc)
- header_inject_test.go (github-poc)
- header_inject_test.go (github-poc)
- header_inject_test.go (github-poc)
- header_inject_test.go (github-poc)
- header_inject_test.go (github-poc)
…and 1 more exploits
Timeline
- Aug 24, 2017 CVE Published
- Apr 14, 2021 EPSS Score
- Jun 23, 2021 EPSS Score
- Aug 24, 2021 EPSS Score
- Dec 27, 2021 EPSS Score
- Feb 28, 2022 EPSS Score
- May 2, 2022 EPSS Score
- Jul 3, 2022 EPSS Score
- Sep 5, 2022 EPSS Score
- Nov 6, 2022 EPSS Score
- Mar 7, 2023 EPSS Score
- Mar 11, 2023 EPSS Score
References
- https://ubuntu.com/security/CVE-2017-11424 third-party-advisory
- https://ubuntu.com/security/notices/USN-3407-1 vendor-advisory
- https://www.cve.org/CVERecord?id=CVE-2017-11424 third-party-advisory