CVE-2022-29217 | Key confusion through non-blocklisted public key formats in PyJWT

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.

公開: 2022-05-24 最終更新: 2026-06-17 Assigner: [email protected] ソース: [email protected]

総合評価: CVE-2022-29217 は中リスク(52.8/100)。CVSS 深刻度は高。悪用される可能性が高い(EPSS 1.20%、64 パーセンタイル) 推奨対応: 影響資産を整理し、修補計画に組み込んでください。

リスクは変動します。再評価に基づき、本ページの表示内容を更新しています。

CVE-2022-29217 の EPSS(Exploit Prediction Scoring System)スコア

EPSS は日次で悪用されやすさの相対度合いを推定します。パーセンタイルは採点済み CVE の中での相対位置(高いほど相対的に深刻)を示します。

# 日付 旧 EPSS スコア 新 EPSS スコア Δ(新 − 旧)
1 2026-06-15 0.42% 1.20% +0.78%
2 2026-05-09 0.31% 0.42% +0.11%
3 2026-03-04 0.31%

EPSS の全履歴 (全 37 件)

CVE-2022-29217 の CVSS(Common Vulnerability Scoring System)指標

この CVE の CVSS 指標。

ベーススコア バージョン 深刻度 ベクトル 悪用しやすさ 影響 スコアの出典
7.4 3.1 HIGH
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N クリックして展開
攻撃ベクター (AV:N)
インターネットなど、ルーティングされたネットワーク越しに遠隔から悪用しうる。端末の前にいる必要はない。
攻撃の複雑さ (AC:H)
到達できても、タイミング・負荷・周辺設定など、揃わないと成功しない局面が多い。
必要な権限 (PR:N)
事前のログインや昇格は不要で、匿名アクセスのまま踏み台にしうる。
ユーザーの関与 (UI:N)
メールのリンクを開く、マクロを有効にするなど、被害者の協力がなくても成立しうる。
スコープ (S:U)
影響は脆弱コンポーネントと同一のセキュリティ権限・信頼境界の内側に収まる。
機密性への影響 (C:H)
広範な機微データの読み取りや持ち出しが現実的。
完全性への影響 (I:H)
権限の奪取や広範なログ改竄など、システムの信頼根拠を揺るがす改ざんが現実的。
可用性への影響 (A:N)
業務継続に支障が出るレベルの停止や劣化は想定されない。
2.2 5.2 [email protected]
7.5 3.1 HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N クリックして展開
攻撃ベクター (AV:N)
インターネットなど、ルーティングされたネットワーク越しに遠隔から悪用しうる。端末の前にいる必要はない。
攻撃の複雑さ (AC:L)
攻撃者が条件を満たせば、レース条件や珍しい構成に依存せずに再現しやすい。
必要な権限 (PR:N)
事前のログインや昇格は不要で、匿名アクセスのまま踏み台にしうる。
ユーザーの関与 (UI:N)
メールのリンクを開く、マクロを有効にするなど、被害者の協力がなくても成立しうる。
スコープ (S:U)
影響は脆弱コンポーネントと同一のセキュリティ権限・信頼境界の内側に収まる。
機密性への影響 (C:N)
機微情報の漏えいは想定しにくい。
完全性への影響 (I:H)
権限の奪取や広範なログ改竄など、システムの信頼根拠を揺るがす改ざんが現実的。
可用性への影響 (A:N)
業務継続に支障が出るレベルの停止や劣化は想定されない。
3.9 3.6 [email protected]
5.0 2.0 MEDIUM
AV:N/AC:L/Au:N/C:N/I:P/A:N クリックして展開
アクセス経路 (AV:N)
ルーティング可能なネットワーク越しに、遠隔から到達・悪用しうる。
アクセスの複雑さ (AC:L)
手順が短く、再現性が高い。
認証 (AU:N)
認証を経ずに攻撃を完結できる。
機密性への影響 (C:N)
機密性は損なわれない。
完全性への影響 (I:P)
完全性は部分的に損なわれる。
可用性への影響 (A:N)
可用性は損なわれない。
10.0 2.9 [email protected]

CVE-2022-29217 の弱点分類(列挙)

CVE-2022-29217 の GitHub Security Advisory

GHSA-ffqj-6fqr-9h24 · 深刻度: high · エコシステム: pip — Key confusion through non-blocklisted public key formats

CVE-2022-29217 の OS トラッカー

vendor priority summary link
alpine high CVE-2022-29217: 1 source package rows (py3-jwt); 7 state rows across 7 repos (3.17-community, 3.18-community, 3.19-community, 3.20-community, 3.21-community, 3.22-community, edge-community); fixed 7, open 0. https://security.alpinelinux.org/vuln/CVE-2022-29217
debian unimportant CVE-2022-29217 unimportant priority: Debian including 1 source packages (pyjwt), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. https://security-tracker.debian.org/tracker/CVE-2022-29217
redhat medium https://access.redhat.com/security/cve/CVE-2022-29217
suse high CVE-2022-29217 severity important: SUSE including 255 source package names (1.10.1.16.4.5.348:python3-PyJWT-2.4.0-150200.3.6.2, 3.8.0.0.3.2.652:python3-PyJWT-2.4.0-150200.3.6.2, …), 487 product×package rows across 248 product lines (Container ses/7.1/cephcsi/cephcsi, Container ses/7.1/rook/ceph, … (248 product lines)): Fixed 350, Known Affected 131, Will Not Fix 5, Known Not Affected 1. https://www.suse.com/security/cve/CVE-2022-29217/
ubuntu medium CVE-2022-29217 medium priority: Ubuntu including 1 source packages (pyjwt), 7 status rows across 7 suites (bionic, focal, impish, jammy, trusty, upstream, xenial): released 4, DNE 1, ignored 1, not-affected 1. https://ubuntu.com/security/CVE-2022-29217

CVE-2022-29217 の影響を受けるソフトウェア/構成

ベンダー 製品 バージョン 生の CPE
pyjwt_project pyjwt >= 1.5.0, < 2.4.0 cpe:2.3:a:pyjwt_project:pyjwt:*:*:*:*:*:*:*:*
fedoraproject fedora 35 cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*
fedoraproject fedora 36 cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*

CVE-2022-29217 の参考情報

cvelogic Threat Intelligence