Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2022-29217

7.4 · HIGH
Published May 24, 2022 pyjwt_project CWE-327 EPSS 1.35% (70th pctl)

Overview

CVE-2022-29217 is a high-severity vulnerability affecting pyjwt_project pyjwt. It was published on May 24, 2022 and has a CVSS 3.1 base score of 7.4 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.4, rated HIGH. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

Technical 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.

Remediation

Check the references section for vendor advisories and patches from pyjwt_project. Update pyjwt to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
pyjwt_project pyjwt >= 1.5.0, < 2.4.0 Affected

Frequently Asked Questions

What is CVE-2022-29217?

CVE-2022-29217 is a high-severity vulnerability affecting pyjwt_project pyjwt. It was published on May 24, 2022 and has a CVSS 3.1 base score of 7.4 (HIGH).

How severe is CVE-2022-29217?

This vulnerability has a CVSS 3.1 base score of 7.4, rated HIGH. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2022-29217?

Check the references section for vendor advisories and patches from pyjwt_project. Update pyjwt to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2022-29217?

CyberStrike's AI-powered security agents can automatically detect CVE-2022-29217 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.