CVE
CVE-2024-9287
CVE-2024-9287MED 5.3EPSS 52%
CNA 原文 · 原文(英文)
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.
受影响版本
- 3.14.0-alpha1仅此版本
- ≥ 3.13.0, < 3.13.1修复版本 3.13.1
- ≥ 3.12.0, < 3.12.8修复版本 3.12.8
- ≥ 3.11.0, < 3.11.11修复版本 3.11.11
- ≥ 3.10.0, < 3.10.16修复版本 3.10.16
- < 3.9.21修复版本 3.9.21
发行版软件包(Debian、Ubuntu、Red Hat 等)会回移补丁而不改上游版本号,请同时查看所用发行版的安全公告。
公告与补丁
- mail.python.org/archives/list/[email protected]/thread/RSPJ2B5JL · Vendor Advisory
数据来源:NVD(公有领域)、CISA KEV(CC0)、FIRST EPSS、OSV.dev / GitHub Advisory Database(CC-BY 4.0) · 本库只列受影响版本与修复版本,不托管、不链接任何利用代码。