CVE-2022-29217: Key confusion through non-blocklisted public key formats in PyJWT
jpadilla · pyjwt
Vendor fix available · Affected: jpadilla pyjwt · Exploitation: possible (1 to 10%)
Not in CyberSIXT coverage yet: no article names this CVE. This page shows the public record.
Higher than 72% of scored CVEs
DescriptionCVE.org
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.
Affected products1
From the CVE record. A product or version that is not listed is unknown, not unaffected.
- jpadilla · pyjwt>= 1.5.0, < 2.4.0
On the Atlas
Every published CVE is on the CyberSIXT Atlas, grouped by weakness, vendor and month.
CoverageNo articles yet
No CyberSIXT article names CVE-2022-29217 yet, so there is no coverage timeline, action brief or change log for it. Everything on this page comes from the public CVE record, CISA KEV, EPSS and the nuclei template index. Search the archive or see the CVEs in the news.
References
- NVD entrynvd.nist.gov
- CVE recordcve.org
- Weakness CWE-327cwe.mitre.org
- Vendor advisorylists.fedoraproject.org
- Vendor advisorylists.fedoraproject.org
- github.com/jpadilla/pyjwt/security/advisories/GHSA-ffqj-6fqr-9h2github.com
- github.com/jpadilla/pyjwt/commit/9c528670c455b8d948aff95ed50e229github.com
- github.com/jpadilla/pyjwt/releases/tag/2.4.0github.com
- vicarius.io/vsociety/posts/risky-algorithms-algorithm-confusion-vicarius.io