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 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.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTNIST
7.4 HIGH
NETWORK
HIGH
NONE
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
GitHub_MCNA
7.4 HIGH
NETWORK
HIGH
NONE
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
CVEADP
---
---
CISA-ADPADP
---
---
Base Score
CVSS 3.x
EPSS Score
Percentile: 58%
VendorProductVersion
pyjwt_projectpyjwt
1.5.0 ≤
𝑥
< 2.4.0
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
pyjwt
bullseye
1.7.1-2
not-affected
buster
not-affected
stretch
not-affected
bookworm
2.6.0-1
fixed
sid
2.7.0-1
fixed
trixie
2.7.0-1
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
pyjwt
jammy
Fixed 2.3.0-1ubuntu0.1
released
impish
ignored
focal
Fixed 1.7.1-2ubuntu2.1
released
bionic
Fixed 1.5.3+ds1-1ubuntu0.1
released
xenial
not-affected
trusty
dne