CVE-2022-29217 in Fedoraproject Fedora and 1 more product
PyJWT is a Python implementation of RFC 7519. PyJWT supports multiple different JWT signing algorithms. With JWT, an attacker submitting the JWT token can choose the used signing algorithm. The PyJWT library requires that the application chooses what algorithms are supported. The application can specify `jwt.algorit...
Affects 2 products from 2 vendors. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, full integrity impact, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Fedoraproject | Fedora | 35 36 |
| Pyjwt Project | Pyjwt | ≥ 1.5.0, < 2.4.0 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
PyJWT is a Python implementation of RFC 7519. PyJWT supports multiple different JWT signing algorithms. With JWT, an attacker submitting the JWT token can choose the used signing algorithm. The PyJWT library requires that the application chooses what algorithms are supported. The application can specify `jwt.algorithms.get_default_algorithms()` to get support for all algorithms, or specify a single algorithm. The issue is not that big as `algorithms=jwt.algorithms.get_default_algorithms()` has to be used. Users should upgrade to v2.4.0 to receive a patch for this issue. As a workaround, always be explicit with the algorithms that are accepted and expected when decoding.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2022-29217 |
|---|---|
| BreachSpider ID | BS-2022-GLOBAL-317278-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| Published | 2022-05-24 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-327: CWE-327
Related attack patterns (CAPEC)
CAPEC-459 Creating a Rogue Certification Authority Certificate via CWE-327
CAPEC-475 Signature Spoofing by Improper Validation via CWE-327
CAPEC-608 Cryptanalysis of Cellular Encryption via CWE-327
CAPEC-614 Rooting SIM Cards via CWE-327
CAPEC-20 Encryption Brute Forcing via CWE-327
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
CVE-2022-29217 affects the PyJWT library, allowing an attacker to exploit the ability to choose the signing algorithm in a JWT token, potentially leading to unauthorized access.
An attacker can craft a JWT token using a weaker signing algorithm that the application supports, such as 'none' or 'HS256', to bypass authentication or gain unauthorized access.
Questions
What is CVE-2022-29217?
CVE-2022-29217 affects the PyJWT library, allowing an attacker to exploit the ability to choose the signing algorithm in a JWT token, potentially leading to unauthorized access.
What is the CVSS score for CVE-2022-29217?
CVE-2022-29217 has CVSS 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N. EPSS: 1.4%.
Is CVE-2022-29217 actively exploited?
No confirmed active exploitation of CVE-2022-29217 as of 2026-09-25.
How do I remediate CVE-2022-29217?
Priority: HIGH.
What systems are affected by CVE-2022-29217?
CVE-2022-29217 affects Fedoraproject Fedora; Pyjwt Project Pyjwt.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Fedoraproject","product":"Fedora","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.