high8.4
CVE-2024-53899
virtualenv allows command injection through activation scripts for a virtual environment
Impact
virtualenv before 20.26.6 allows command injection through the activation scripts for a virtual environment. Magic template strings are not quoted correctly when replacing. NOTE: this is not the same as CVE-2024-9287.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| pip | virtualenv | < 20.26.6 | 20.26.6 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Virtualenv | Virtualenv | before 20.26.6 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/pypa/virtualenv/issues/2768
- https://github.com/pypa/virtualenv/pull/2771
- https://github.com/pypa/virtualenv/releases/tag/20.26.6
- https://github.com/advisories/GHSA-rqc4-2hc7-8c8v
- https://nvd.nist.gov/vuln/detail/CVE-2024-53899
- https://github.com/pypa/advisory-database/tree/main/vulns/virtualenv/PYSEC-2024-187.yaml