GHSA-rqc4-2hc7-8c8v
virtualenv allows command injection through activation scripts for a virtual environment
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| PyPI | virtualenv | < 20.26.6 | 20.26.6 |
Details
As written in the advisory (Markdown source, shown as plain text).
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.
References
External links from the advisory. They lead to third-party sites.
- https://nvd.nist.gov/vuln/detail/CVE-2024-53899
- https://github.com/pypa/virtualenv/issues/2768
- https://github.com/pypa/virtualenv/pull/2771
- https://github.com/pypa/advisory-database/tree/main/vulns/virtualenv/PYSEC-2024-187.yaml
- https://github.com/pypa/virtualenv
- https://github.com/pypa/virtualenv/releases/tag/20.26.6