
CVE catalog
CVE-2017-11424
pyjwt: CVE-2017-11424
- Severity
- Medium · CVSS 5.3
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 1.80% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | pyjwt | sid | 2.15.1-1 | fixed |
| Debian | pyjwt | forky | 2.15.1-1 | fixed |
| Debian | pyjwt | trixie | 2.10.1-2+deb13u1 | fixed |
| Debian | pyjwt | trixie-security | 2.10.1-2+deb13u1 | fixed |
| Debian | pyjwt | bookworm | 2.6.0-1+deb12u1 | fixed |
| Debian | pyjwt | bookworm-security | 2.6.0-1+deb12u1 | fixed |
| Ubuntu | pyjwt | 16.04 | 1.0.0-0ubuntu1 | vulnerable |
| Ubuntu | pyjwt | 16.04 | 1.3.0-1 | vulnerable |
| Ubuntu | pyjwt | 16.04 | 1.3.0-1ubuntu0.1 | fixed |
| Ubuntu | pyjwt | 16.04 | 1.0.0-0ubuntu1 | vulnerable |
| Ubuntu | pyjwt | 16.04 | 1.3.0-1 | vulnerable |
| Ubuntu | pyjwt | 16.04 | 1.3.0-1ubuntu0.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | pyjwt | source | sid | 1.4.2-1.1 | not yet assigned | Not reported | [873244] |
| Debian | pyjwt | source | forky | 1.4.2-1.1 | not yet assigned | Not reported | [873244] |
| Debian | pyjwt | source | trixie | 1.4.2-1.1 | not yet assigned | Not reported | [873244] |
| Debian | pyjwt | source | bookworm | 1.4.2-1.1 | not yet assigned | Not reported | [873244] |
| Ubuntu | pyjwt | deb | 16.04 | 1.3.0-1ubuntu0.1 | Not reported | USN-3407-1 | Not reported |
| Ubuntu | pyjwt | deb | 16.04 | 1.3.0-1ubuntu0.1 | Not reported | UBUNTU-CVE-2017-11424 | Not reported |
OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.
[Debian 12 (Bookworm)]
- [python3-jwt]Unknown
Source package: [pyjwt]
Details (4)
2.6.0-1+deb12u1· all · bookwormFixed · Fixed:
1.4.2-1.1dsa · pyjwt · debian · bookworm; dsa · pyjwt · debian · 12
2.6.0-1+deb12u1· all · bookwormFixed · Fixed:
1.4.2-1.1dsa · pyjwt · debian · bookworm; dsa · pyjwt · debian · 12
2.6.0-1+deb12u1· all · bookworm-securityFixed · Fixed:
1.4.2-1.1dsa · pyjwt · debian · bookworm; dsa · pyjwt · debian · 12
2.6.0-1+deb12u1· all · bookworm-securityFixed · Fixed:
1.4.2-1.1dsa · pyjwt · debian · bookworm; dsa · pyjwt · debian · 12
[Debian 13 (Trixie)]
- [python3-jwt]Unknown
Source package: [pyjwt]
Details (4)
2.10.1-2+deb13u1· all · trixieFixed · Fixed:
1.4.2-1.1dsa · pyjwt · debian · 13
2.10.1-2+deb13u1· all · trixieFixed · Fixed:
1.4.2-1.1dsa · pyjwt · debian · 13
2.10.1-2+deb13u1· all · trixie-securityFixed · Fixed:
1.4.2-1.1dsa · pyjwt · debian · 13
2.10.1-2+deb13u1· all · trixie-securityFixed · Fixed:
1.4.2-1.1dsa · pyjwt · debian · 13
- [python-jwt-doc]Unknown
Source package: [pyjwt]
Details (4)
2.10.1-2+deb13u1· all · trixieFixed · Fixed:
1.4.2-1.1dsa · pyjwt · debian · 13
2.10.1-2+deb13u1· all · trixieFixed · Fixed:
1.4.2-1.1dsa · pyjwt · debian · 13
2.10.1-2+deb13u1· all · trixie-securityFixed · Fixed:
1.4.2-1.1dsa · pyjwt · debian · 13
2.10.1-2+deb13u1· all · trixie-securityFixed · Fixed:
1.4.2-1.1dsa · pyjwt · debian · 13
Observed:
References
- [https://osv.dev/vulnerability/DEBIAN-CVE-2017-11424]
- [https://osv.dev/vulnerability/DSA-3979-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2017-11424]
- [https://osv.dev/vulnerability/USN-3407-1]
- [https://security-tracker.debian.org/tracker/CVE-2017-11424]
- [https://security.access.redhat.com/data/csaf/v2/vex/2017/cve-2017-11424.json]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX]