Virtual environment (venv) activation scripts don't quote paths
概要
Virtual environment (venv) activation scripts don't quote paths
原文の説明
取得元が公開している説明をそのまま載せています (多くは英語)。
A vulnerability has been found in the CPython venv module and CLI where path names provided when creating a virtual environment were not quoted properly, allowing the creator to inject commands into virtual environment "activation" scripts (ie "source venv/bin/activate"). This means that attacker-controlled virtual environments are able to run commands when the virtual environment is activated. Virtual environments which are not created by an attacker or which aren't activated before being used (ie "./venv/bin/python") are not affected.
影響パッケージ
ディストリビューション別の修正状況
各ディストリビューションが公開している、この CVE の修正パッケージ
- Alpine Linux ALPINE-CVE-2024-9287 python3 修正版: 3.11.11-r0
- Debian DEBIAN-CVE-2024-9287 pypy3 修正版: 7.3.5+dfsg-2+deb11u4
参照URL
- advisory mail.python.org
- patch github.com
- patch github.com
- patch github.com
- patch github.com
- patch github.com
- patch github.com
- patch github.com
- report github.com
- web nvd.nist.gov
- web security.netapp.com
- web lists.debian.org
- web lists.debian.org