CVE & CISA-KEV Catalog

CVE-2022-29217

HIGH
7.4
CVSS v3
NVD

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.

How to fix

Remediation Available
pyjwtDebian
Fixed in:2.4.0-1CVE-2022-29217
Fixed in:2.4.0-1CVE-2022-29217
Fixed in:2.4.0-1CVE-2022-29217
pyjwtUbuntu
Fixed in:1.5.3+ds1-1ubuntu0.1USN-5526-1
Fixed in:1.7.1-2ubuntu2.1USN-5526-1
Fixed in:2.3.0-1ubuntu0.1USN-5526-1
python-jwtUbuntu
Fixed in:1.5.3+ds1-1ubuntu0.1USN-5526-1
python3-jwtUbuntu
Fixed in:1.5.3+ds1-1ubuntu0.1USN-5526-1
Fixed in:1.7.1-2ubuntu2.1USN-5526-1
Fixed in:2.3.0-1ubuntu0.1USN-5526-1

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityHigh
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityHigh
IntegrityHigh
AvailabilityNone

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N

Exploit Intelligence

1.20%probability of exploitation in 30 days
64thpercentile

Moderate risk: more likely to be exploited than 64% of all known CVEs.

References

Embed a live status badge for CVE-2022-29217
CVE-2022-29217 severity badge

Markdown

[![CVE-2022-29217](https://tridentstack.com/cve/badge/CVE-2022-29217.svg)](https://tridentstack.com/cve/CVE-2022-29217)

HTML

<a href="https://tridentstack.com/cve/CVE-2022-29217"><img src="https://tridentstack.com/cve/badge/CVE-2022-29217.svg" alt="CVE-2022-29217"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.