Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2022-29217

published high CVSS 3.1 · 7.4

Key confusion through non-blocklisted public key formats in PyJWT

Published
24 May 2022, 14:10:10 UTC
Updated
23 Apr 2025, 18:22:46 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
jpadilla — pyjwt>= 1.5.0, < 2.4.0 Affected Not stated GitHub_M
Amazon Linux AL2023 Release evaluationALAS2023-2023-076 Fixed Not stated Amazon Linux assessment
Ubuntu bionic pyjwt Advisory build 1.5.3+ds1-1ubuntu0.1 USN-5526-1
Alpine Linux edge py3-jwt Fixed 2.4.0-r0 Package fix record
SUSE / openSUSE SLE-12 python-PyJWTnoarch Advisory build 1.5.3-3.16.1 SUSE-SU-2022:2401-1
Amazon Linux AL2023 python-jwtnoarch Listed in advisory Not stated ALAS2023-2023-076
Ubuntu focal pyjwt Advisory build 1.7.1-2ubuntu2.1 USN-5526-1
Ubuntu jammy pyjwt Advisory build 2.3.0-1ubuntu0.1 USN-5526-1
Show 60 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Alpine Linux v3.16 py3-jwt Fixed 2.4.0-r0 Package fix record
Alpine Linux v3.17 py3-jwt Fixed 2.4.0-r0 Package fix record
Alpine Linux v3.18 py3-jwt Fixed 2.4.0-r0 Package fix record
Alpine Linux v3.19 py3-jwt Fixed 2.4.0-r0 Package fix record
Alpine Linux v3.20 py3-jwt Fixed 2.4.0-r0 Package fix record
Alpine Linux v3.21 py3-jwt Fixed 2.4.0-r0 Package fix record
Alpine Linux v3.22 py3-jwt Fixed 2.4.0-r0 Package fix record
Alpine Linux v3.23 py3-jwt Fixed 2.4.0-r0 Package fix record
Alpine Linux v3.24 py3-jwt Fixed 2.4.0-r0 Package fix record
SUSE / openSUSE SLE-12 python3-PyJWTnoarch Advisory build 1.5.3-3.16.1 SUSE-SU-2022:2401-1
SUSE / openSUSE SLE-12-SP3 python-PyJWTnoarch Advisory build 1.5.3-3.16.1 SUSE-SU-2022:2401-1
SUSE / openSUSE SLE-12-SP3 python3-PyJWTnoarch Advisory build 1.5.3-3.16.1 SUSE-SU-2022:2401-1
SUSE / openSUSE SLE-12-SP4 python-PyJWTnoarch Advisory build 1.5.3-3.16.1 SUSE-SU-2022:2401-1
SUSE / openSUSE SLE-12-SP4 python3-PyJWTnoarch Advisory build 1.5.3-3.16.1 SUSE-SU-2022:2401-1
SUSE / openSUSE SLE-12-SP5 python-PyJWTnoarch Advisory build 1.5.3-3.16.1 SUSE-SU-2022:2401-1
SUSE / openSUSE SLE-12-SP5 python3-PyJWTnoarch Advisory build 1.5.3-3.16.1 SUSE-SU-2022:2401-1
SUSE / openSUSE SLE-15 python3-PyJWTnoarch Advisory build 1.5.3-150000.3.3.1 SUSE-SU-2022:3545-1
SUSE / openSUSE SLE-15-SP1 python2-PyJWTnoarch Advisory build 1.7.1-150100.6.7.1 SUSE-SU-2022:2403-1
SUSE / openSUSE SLE-15-SP1 python3-PyJWTnoarch Advisory build 1.7.1-150100.6.7.1 SUSE-SU-2022:2403-1
SUSE / openSUSE SLE-15-SP2 python2-PyJWTnoarch Advisory build 1.7.1-150100.6.7.1 SUSE-SU-2022:2403-1
SUSE / openSUSE SLE-15-SP2 python3-PyJWTnoarch Advisory build 1.7.1-150200.3.3.1 SUSE-SU-2022:2402-1
SUSE / openSUSE SLE-15-SP2 python3-PyJWTnoarch Advisory build 2.4.0-150200.3.6.2 SUSE-SU-2023:0794-1
SUSE / openSUSE SLE-15-SP3 python2-PyJWTnoarch Advisory build 1.7.1-150200.3.3.1 SUSE-SU-2022:2402-1
SUSE / openSUSE SLE-15-SP3 python3-PyJWTnoarch Advisory build 1.7.1-150200.3.3.1 SUSE-SU-2022:2402-1
SUSE / openSUSE SLE-15-SP3 python3-PyJWTnoarch Advisory build 2.4.0-150200.3.6.2 SUSE-SU-2023:0794-1
SUSE / openSUSE SLE-15-SP4 python3-PyJWTnoarch Advisory build 1.7.1-150200.3.3.1 SUSE-SU-2022:2402-1
SUSE / openSUSE SLE-15-SP4 python3-PyJWTnoarch Advisory build 2.4.0-150200.3.6.2 SUSE-SU-2023:0794-1
SUSE / openSUSE openSUSE-Leap-15.3 python2-PyJWTnoarch Advisory build 1.7.1-150200.3.3.1 SUSE-SU-2022:2402-1
SUSE / openSUSE openSUSE-Leap-15.3 python3-PyJWTnoarch Advisory build 1.7.1-150200.3.3.1 SUSE-SU-2022:2402-1
SUSE / openSUSE openSUSE-Leap-15.4 python3-PyJWTnoarch Advisory build 1.7.1-150200.3.3.1 SUSE-SU-2022:2402-1
SUSE / openSUSE openSUSE-Leap-15.4 python3-PyJWTnoarch Advisory build 2.4.0-150200.3.6.2 SUSE-SU-2023:0794-1
SUSE / openSUSE openSUSE-Tumbleweed python310-PyJWTaarch64 Advisory build 2.4.0-1.1 OPENSUSE-SU-2024:12139-1
SUSE / openSUSE openSUSE-Tumbleweed python310-PyJWTppc64le Advisory build 2.4.0-1.1 OPENSUSE-SU-2024:12139-1
SUSE / openSUSE openSUSE-Tumbleweed python310-PyJWTs390x Advisory build 2.4.0-1.1 OPENSUSE-SU-2024:12139-1
SUSE / openSUSE openSUSE-Tumbleweed python310-PyJWTx86_64 Advisory build 2.4.0-1.1 OPENSUSE-SU-2024:12139-1
SUSE / openSUSE openSUSE-Tumbleweed python311-PyJWTaarch64 Advisory build 2.10.1-2.1 OPENSUSE-SU-2025:14987-1
SUSE / openSUSE openSUSE-Tumbleweed python311-PyJWTppc64le Advisory build 2.10.1-2.1 OPENSUSE-SU-2025:14987-1
SUSE / openSUSE openSUSE-Tumbleweed python311-PyJWTs390x Advisory build 2.10.1-2.1 OPENSUSE-SU-2025:14987-1
SUSE / openSUSE openSUSE-Tumbleweed python311-PyJWTx86_64 Advisory build 2.10.1-2.1 OPENSUSE-SU-2025:14987-1
SUSE / openSUSE openSUSE-Tumbleweed python312-PyJWTaarch64 Advisory build 2.10.1-2.1 OPENSUSE-SU-2025:14987-1
SUSE / openSUSE openSUSE-Tumbleweed python312-PyJWTppc64le Advisory build 2.10.1-2.1 OPENSUSE-SU-2025:14987-1
SUSE / openSUSE openSUSE-Tumbleweed python312-PyJWTs390x Advisory build 2.10.1-2.1 OPENSUSE-SU-2025:14987-1
SUSE / openSUSE openSUSE-Tumbleweed python312-PyJWTx86_64 Advisory build 2.10.1-2.1 OPENSUSE-SU-2025:14987-1
SUSE / openSUSE openSUSE-Tumbleweed python313-PyJWTaarch64 Advisory build 2.10.1-2.1 OPENSUSE-SU-2025:14987-1
SUSE / openSUSE openSUSE-Tumbleweed python313-PyJWTppc64le Advisory build 2.10.1-2.1 OPENSUSE-SU-2025:14987-1
SUSE / openSUSE openSUSE-Tumbleweed python313-PyJWTs390x Advisory build 2.10.1-2.1 OPENSUSE-SU-2025:14987-1
SUSE / openSUSE openSUSE-Tumbleweed python313-PyJWTx86_64 Advisory build 2.10.1-2.1 OPENSUSE-SU-2025:14987-1
SUSE / openSUSE openSUSE-Tumbleweed python38-PyJWTaarch64 Advisory build 2.4.0-1.1 OPENSUSE-SU-2024:12139-1
SUSE / openSUSE openSUSE-Tumbleweed python38-PyJWTppc64le Advisory build 2.4.0-1.1 OPENSUSE-SU-2024:12139-1
SUSE / openSUSE openSUSE-Tumbleweed python38-PyJWTs390x Advisory build 2.4.0-1.1 OPENSUSE-SU-2024:12139-1
SUSE / openSUSE openSUSE-Tumbleweed python38-PyJWTx86_64 Advisory build 2.4.0-1.1 OPENSUSE-SU-2024:12139-1
SUSE / openSUSE openSUSE-Tumbleweed python39-PyJWTaarch64 Advisory build 2.4.0-1.1 OPENSUSE-SU-2024:12139-1
SUSE / openSUSE openSUSE-Tumbleweed python39-PyJWTppc64le Advisory build 2.4.0-1.1 OPENSUSE-SU-2024:12139-1
SUSE / openSUSE openSUSE-Tumbleweed python39-PyJWTs390x Advisory build 2.4.0-1.1 OPENSUSE-SU-2024:12139-1
SUSE / openSUSE openSUSE-Tumbleweed python39-PyJWTx86_64 Advisory build 2.4.0-1.1 OPENSUSE-SU-2024:12139-1
Ubuntu bionic python-jwt Advisory build 1.5.3+ds1-1ubuntu0.1 USN-5526-1
Ubuntu bionic python3-jwt Advisory build 1.5.3+ds1-1ubuntu0.1 USN-5526-1
Ubuntu focal python3-jwt Advisory build 1.7.1-2ubuntu2.1 USN-5526-1
Ubuntu jammy python3-jwt Advisory build 2.3.0-1ubuntu0.1 USN-5526-1
Amazon Linux AL2023 python-jwtsrc Listed in advisory Not stated ALAS2023-2023-076

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.

en · GitHub_M · cna

Vendor advisories explicitly linked to this CVE.

32

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.4 / 10
Severity
high
Provider
GitHub_M · cna
Vector string
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
jpadilla pyjwt >= 1.5.0, < 2.4.0 (affected) GitHub_M · cna

Weaknesses

1
  • CWE-327 CWE-327: Use of a Broken or Risky Cryptographic Algorithm (GitHub_M · cna)

References

6

Provider assertions

3

GitHub_M · cna

Key confusion through non-blocklisted public key formats in PyJWT

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
fe5dac19fae88cf90c9ff471d0fe386c54453f904a972ca7eec08cea7a62deb2
Ingested
23 Sep 2026, 07:59:45 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected