GitHub Advisoryadvisory · PyPI
GHSA-rqc4-2hc7-8c8v virtualenv allows command injection through activation scripts for a virtual environment
HIGH
Official page ↗
- Aliases
- CVE-2024-53899
- Ecosystem
- PyPI
- Packages
- virtualenv
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-77, CWE-78
- Reviewed
- 2025-01-13
Affected packages
• PyPI virtualenv: < 20.26.6 → fixed in 20.26.6
Description
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.
Related
Alias · CVE (1)
- CVE-2024-53899 virtualenv before 20.26.6 allows command injection through the activation scripts for a virtual environment. vulnerability
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-53899 advisory
- https://github.com/pypa/virtualenv/issues/2768 web
- https://github.com/pypa/virtualenv/pull/2771 web
- https://github.com/pypa/advisory-database/tree/main/vulns/virtualenv/PYSEC-2024-187.yaml web
- https://github.com/pypa/virtualenv package
- https://github.com/pypa/virtualenv/releases/tag/20.26.6 web