CVE-2022-29217

python3-jwt: PyJWT is a Python implementation of RFC 7519

CVE-2022-29217 is fixed in 4 products on 1 platform, first by python-jwt 1.5.3+ds1-1ubuntu0.1, released May 24, 2022. It is not reported as exploited. Patch Radar priority: High.

High
CVSS
7.5
Medium
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0136
71st percentile

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.

Where it's fixed

ProductFixed inFixReleased
Linux
pyjwt · Debian 12.15 (bookworm) 2.4.0-1 DEBIAN-CVE-2022-29217 May 24, 2022
pyjwt · Debian 13.5 (trixie) 2.4.0-1 DEBIAN-CVE-2022-29217 May 24, 2022
pyjwt · Debian 14 2.4.0-1 DEBIAN-CVE-2022-29217 May 24, 2022
python-jwt · Ubuntu 18.04.6 LTS (bionic) 1.5.3+ds1-1ubuntu0.1 python-jwt 1.5.3+ds1-1ubuntu0.1 May 24, 2022
python3-jwt · Ubuntu 18.04.6 LTS (bionic) 1.5.3+ds1-1ubuntu0.1 python3-jwt 1.5.3+ds1-1ubuntu0.1 May 24, 2022
python3-jwt · Ubuntu 20.04 LTS (focal) 1.7.1-2ubuntu2.1 python3-jwt 1.7.1-2ubuntu2.1 May 24, 2022
python3-jwt · Ubuntu 22.04.1 LTS (jammy) 2.3.0-1ubuntu0.1 python3-jwt 2.3.0-1ubuntu0.1 May 24, 2022
python3-jwt · amzn 2023 2.4.0-1.amzn2023.0.1 ALAS2023-2023-076 Feb 17, 2023
python3-jwt+crypto · amzn 2023 2.4.0-1.amzn2023.0.1 ALAS2023-2023-076 Feb 17, 2023

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.