Description
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.
Details
CVSS:4.0/AV:L/AC:L/AT:P/PR:H/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/U:Green
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| python3.10 | — | 3.10.12-1~22.04.7 |
| python3.11 | — | 3.11.0~rc1-1~22.04.1~esm2 |
| python3.12 | — | 3.12.3-1ubuntu0.3 |
| python3.4 | — | 3.4.3-1ubuntu1~14.04.7+esm14 |
| python3.5 | — | 3.5.2-2ubuntu0~16.04.13+esm16 |
| python3.6 | — | 3.6.9-1~18.04ubuntu1.13+esm3 |
| python3.7 | — | 3.7.5-2ubuntu1~18.04.2+esm4 |
| python3.8 | — | 3.8.10-0ubuntu1~20.04.16 |
| python3.9 | — | 3.9.5-3ubuntu0~20.04.1+esm3 |
Similar Threats
- Unknown ECHO-6e9c-8674-8943
- Unknown ECHO-f330-0e36-0681
- Unknown ECHO-2b3d-4ba9-189d
- Unknown UBUNTU-CVE-2024-3220
- Unknown UBUNTU-CVE-2024-11168
Free Vulnerability Check
Is your WordPress site affected?
BotEraser helps you identify potentially vulnerable plugins and themes by checking your installation against known CVE records.
Scan My Site Free →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.