CVE-2022-29217

unknown
Published 2022-05-24 ยท Modified 2023-11-08
CVSS v3
โ€”
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
CVSS v4 NEW
โ€”
not yet in upstream
VIR risk
โ€”

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.

Predictions

Exploit likelihood
30%
Patch ETA
โ€”

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

No mitigations published for this CVE yet.

The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ€” if you've already worked around this in production โ€” publish your fix to the community-verified tier.

โœš Propose a mitigation on Community โ†’ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here with source_tier=community-verified.

OS impact

OSVersionStatusFixed in
arch archfixed2.4.0-1
suse slesaffected
debian debianbookwormfixed2.4.0-1
debian debianbullseyefixed0
debian debianforkyfixed2.4.0-1
debian debiansidfixed2.4.0-1
debian debiantrixiefixed2.4.0-1

Package impact

EcosystemPackageVulnerableFixed
python PyPIpyjwt>=1.5.0,<2.4.02.4.0
python PyPIpyjwt<9c528670c455b8d948aff95ed50e22940d1ad3fc||>=1.5.0,<2.4.09c528670c455b8d948aff95ed50e22940d1ad3fc

References

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.