cbcvebase.
CVE-2022-29217
published 2022-05-24

CVE-2022-29217: PyJWT is a Python implementation of RFC 7519. PyJWT supports multiple different JWT signing algorithms. With JWT, an attacker submitting the JWT token can…

PriorityP340high7.5CVSS 3.1
AVNACLPRNUINSUCNIHAN
EPSS
1.20%
64.7th 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.

Affected

22 ranges
VendorProductVersion rangeFixed in
authlibauthlib< 1.3.11.3.1
authlibauthlib>= 0 < 1.3.11.3.1
debianpyjwt< pyjwt 2.4.0-1 (bookworm)pyjwt 2.4.0-1 (bookworm)
debianpython-authlib< python-authlib 0.15.4-1+deb11u1 (bullseye)python-authlib 0.15.4-1+deb11u1 (bullseye)
debianpython-jose
fedoraprojectfedora
fedoraprojectfedora
msrccbl2_python-jwt_2.4.0-1_on_cbl_mariner_2.0
msrccbl_mariner_1.0_arm
msrccbl_mariner_1.0_x64
msrccbl_mariner_2.0_arm
msrccbl_mariner_2.0_x64
msrccm1_python-jwt_2.4.0-1_on_cbl_mariner_1.0
paloaltopan-os
pyjwt_projectpyjwt>= 0 < 2.4.0-12.4.0-1
pyjwt_projectpyjwt>= 0 < 2.4.0-12.4.0-1
pyjwt_projectpyjwt>= 0 < 2.4.0-12.4.0-1
pyjwt_projectpyjwt>= 0 < 2.13.02.13.0
pyjwt_projectpyjwt>= 1.5.0 < 2.4.02.4.0
pyjwt_projectpyjwt>= 1.5.0 < 2.4.02.4.0
python-jose_projectpython-jose<= 3.3.0
python-jose_projectpython-jose>= 0 < 3.4.03.4.0

CVSS provenance

nvdv3.17.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
nvdv2.05.0MEDIUMAV:N/AC:L/Au:N/C:N/I:P/A:N
ghsa8.8HIGH
osv7.5HIGH
vendor_msrc7.5HIGH
vendor_debian7.4HIGH
vendor_redhat7.4HIGH
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.