GHSA-qc9x-gjcv-465w · 深刻度: high · エコシステム: pip — Pipenv's requirements.txt parsing allows malicious index url in comments
pipenv is a Python development workflow tool. Starting with version 2018.10.9 and prior to version 2022.1.8, a flaw in pipenv's parsing of requirements files allows an attacker to insert a specially crafted string inside a comment anywhere within a requirements.txt file, which will cause victims who use pipenv to install the requirements file to download dependencies from a package index server controlled by the attacker. By embedding malicious code in packages served from their malicious index server, the attacker can trigger arbitrary remote code execution (RCE) on the victims' systems. If an attacker is able to hide a malicious `--index-url` option in a requirements file that a victim installs with pipenv, the attacker can embed arbitrary malicious code in packages served from their malicious index server that will be executed on the victim's host during installation (remote code execution/RCE). When pip installs from a source distribution, any code in the setup.py is executed by the install process. This issue is patched in version 2022.1.8. The GitHub Security Advisory contains more information about this vulnerability.
総合評価: CVE-2022-21668 は悪用リスクが高い(80.5/100)。CVSS 深刻度は高。悪用される可能性が高い(EPSS 3.86%、89 パーセンタイル) 根拠: 公開エクスプロイトが 1 件参照されています(Exploit-DB)。 直近 1 日で EPSS が +2.39% 上昇。悪用への関心が高まっている可能性があります。 推奨対応: 公開エクスプロイトが確認されています。影響範囲の確認、緩和策の適用、パッチ適用を優先してください。
リスクは変動します。再評価に基づき、本ページの表示内容を更新しています。
| EDB-ID | ソース | 種別 | 公開 | リンク |
|---|---|---|---|---|
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS は日次で悪用されやすさの相対度合いを推定します。パーセンタイルは採点済み CVE の中での相対位置(高いほど相対的に深刻)を示します。
| # | 日付 | 旧 EPSS スコア | 新 EPSS スコア | Δ(新 − 旧) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 1.48% | 3.86% | +2.39% |
| 2 | 2026-01-20 | 1.58% | 1.48% | -0.11% |
| 3 | 2025-11-21 | — | 1.58% | — |
EPSS の全履歴 (全 24 件)
この CVE の CVSS 指標。
| ベーススコア | バージョン | 深刻度 | ベクトル | 悪用しやすさ | 影響 | スコアの出典 |
|---|---|---|---|---|---|---|
| 8.0 | 3.1 | HIGH |
|
1.3 | 6.0 | [email protected] |
| 8.6 | 3.1 | HIGH |
|
1.8 | 6.0 | [email protected] |
| 9.3 | 2.0 | HIGH |
|
8.6 | 10.0 | [email protected] |
GHSA-qc9x-gjcv-465w · 深刻度: high · エコシステム: pip — Pipenv's requirements.txt parsing allows malicious index url in comments
| vendor | priority | summary | link |
|---|---|---|---|
debian
|
unimportant | CVE-2022-21668 unimportant priority: Debian including 1 source packages (pipenv), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. | https://security-tracker.debian.org/tracker/CVE-2022-21668 |
ubuntu
|
medium | CVE-2022-21668 medium priority: Ubuntu including 1 source packages (pipenv), 15 status rows across 15 suites (bionic, focal, hirsute, impish, jammy, kinetic, lunar, mantic, noble, oracular, plucky, questing, trusty, upstream, xenial): ignored 9, needs-triage 5, DNE 1. | https://ubuntu.com/security/CVE-2022-21668 |
| ベンダー | 製品 | バージョン | 生の CPE |
|---|---|---|---|
| pypa | pipenv | >= 2018.10.9, < 2022.1.8 | cpe:2.3:a:pypa:pipenv:*:*:*:*:*:*:*:* |
| fedoraproject | fedora | 34 | cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:* |
| fedoraproject | fedora | 35 | cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:* |
| fedoraproject | fedora | 36 | cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:* |