脆弱性の一覧へ戻る
編集部の見出し:virtualenv(Python の仮想環境ツール)21.14.9 未満:環境名や --prompt の文字列が、activate やラ…
NVD の情報
virtualenv is a tool for creating isolated virtual python environments. Prior to 21.14.9, the safe_delete() deletion error handler responds to a failed removal by reading mode bits with os.lstat(path) and applying owner-write permission with os.chmod(path, ...), which follows a symlink. A planted link inside a read-only directory can therefore cause a victim-owned target outside the destination that is initially not writable by the invoking user to become broadly writable before the retry fails, provided that user owns the target and can change its mode. Another account can use the widened mode only if it can traverse the target's parent directories; root does not reach the demonstrated failure path, and the operation does not itself read the target. This issue is fixed in version 21.14.9.
- 公開日
- 2026-10-20
- 最終更新(NVD)
- 2026-11-17
- NVD の状態
- Analyzed
- 脆弱性の種類
- CWE-59
深刻度(CVSS)
- 4.5 MediumCVSS 3.1/副/評価:security-advisories@github.com
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L - 4.5 MediumCVSS 3.1/主/評価:nvd@nist.gov
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L
悪用の状況
CISA KEV には掲載されていません(掲載されていないことは、悪用されていないことの証明ではありません)。
EPSS:今後30日に悪用される推定確率 0.20%(全体の上位 90.6%、評価日 2026-11-18)
解消方法
- virtualenv virtualenv のバージョンアップ21.14.9 以上根拠:NVD の条件から推定
「NVD の条件から推定」は、NVD が影響ありとする版の上限から読み取ったもので、修正版とは限りません。「解消方法の情報なし」は、修正が無いという意味ではありません。必ずベンダーの公告で確認してください。
影響を受ける製品と版(NVD の条件)
版の範囲は NVD の条件上の影響範囲です。修正版とは限りません。修正版はベンダーの公告で確認してください。
- virtualenv virtualenv:21.7.5 以上、21.14.9 未満
編集部の記載(レポート掲載時)
レポートの編集部がベンダー公告などから転記した内容です。検証済みの値ではないため、必ず出典で確認してください。
2026-11-18 のレポートvirtualenv(Python の仮想環境ツール)21.14.9 未満:環境名や --prompt の文字列が、activate やラ…
参照(NVD)
- https://github.com/pypa/virtualenv/commit/2bfdc0230d1b2685fedfcfe66c835b9a2ec7c440修正
- https://github.com/pypa/virtualenv/pull/3427課題管理、修正
- https://github.com/pypa/virtualenv/releases/tag/21.14.9リリースノート
- https://github.com/pypa/virtualenv/security/advisories/GHSA-43mp-35q3-x3fq攻撃コード、緩和策、修正、ベンダー公告
- https://github.com/pypa/virtualenv/security/advisories/GHSA-43mp-35q3-x3fq攻撃コード、緩和策、修正、ベンダー公告
NVD から取得:2026-11-19T02:45:33.984Z/EPSS 評価日:2026-11-18
This product uses the NVD API but is not endorsed or certified by the NVD.
悪用の確認情報は CISA Known Exploited Vulnerabilities Catalog(NVD 経由で取得)によります。EPSS は FIRST(www.first.org/epss)によります。