CVE-2022-29217

Summary

CVECVE-2022-29217
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2022-05-24 15:15:00 UTC
Updated2023-11-07 03:45:00 UTC
DescriptionPyJWT 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.

Risk And Classification

Problem Types: CWE-327

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Fedoraproject Fedora 35 All All All
Operating System Fedoraproject Fedora 36 All All All
Application Pyjwt Project Pyjwt All All All All

References

ReferenceSourceLinkTags
[SECURITY] Fedora 35 Update: python-jwt-2.4.0-1.fc35 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
[SECURITY] Fedora 36 Update: python-jwt-2.4.0-1.fc36 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
[SECURITY] Fedora 35 Update: python-jwt-2.4.0-1.fc35 - package-announce - Fedora Mailing-Lists FEDORA lists.fedoraproject.org
[SECURITY] Fedora 36 Update: python-jwt-2.4.0-1.fc36 - package-announce - Fedora Mailing-Lists FEDORA lists.fedoraproject.org
Release 2.4.0 · jpadilla/pyjwt · GitHub MISC github.com
Key confusion through non-blocklisted public key formats · Advisory · jpadilla/pyjwt · GitHub CONFIRM github.com
Merge pull request from GHSA-ffqj-6fqr-9h24 · jpadilla/pyjwt@9c52867 · GitHub MISC github.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 183666 Debian Security Update for pyjwt (CVE-2022-29217)
  • 198867 Ubuntu Security Notification for PyJWT Vulnerability (USN-5526-1)
  • 282767 Fedora Security Update for python (FEDORA-2022-3cf456dc20)
  • 282784 Fedora Security Update for python (FEDORA-2022-4ae9110f51)
  • 354503 Amazon Linux Security Advisory for python-jwt : ALAS2022-2022-241
  • 354571 Amazon Linux Security Advisory for python-jwt : ALAS-2022-241
  • 355238 Amazon Linux Security Advisory for python-jwt : ALAS2023-2023-076
  • 502342 Alpine Linux Security Update for py3-jwt
  • 672113 EulerOS Security Update for python-jwt (EulerOS-SA-2022-2331)
  • 672134 EulerOS Security Update for python-jwt (EulerOS-SA-2022-2302)
  • 672171 EulerOS Security Update for python-jwt (EulerOS-SA-2022-2434)
  • 672176 EulerOS Security Update for python-jwt (EulerOS-SA-2022-2421)
  • 752351 SUSE Enterprise Linux Security Update for python-PyJWT (SUSE-SU-2022:2402-1)
  • 752355 SUSE Enterprise Linux Security Update for python-PyJWT (SUSE-SU-2022:2403-1)
  • 753125 SUSE Enterprise Linux Security Update for python-PyJWT (SUSE-SU-2022:3545-1)
  • 753811 SUSE Enterprise Linux Security Update for python-PyJWT (SUSE-SU-2023:0794-1)
  • 902133 Common Base Linux Mariner (CBL-Mariner) Security Update for python-jwt (9843)
  • 902140 Common Base Linux Mariner (CBL-Mariner) Security Update for python-jwt (9852)
  • 902308 Common Base Linux Mariner (CBL-Mariner) Security Update for python-jwt (9852-1)
  • 902487 Common Base Linux Mariner (CBL-Mariner) Security Update for python-jwt (9843-1)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report