CVE-2024-53899
High
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.
SeverityHigh
CVSS7.8
Exploit probability—
ProductVirtualenv
PublishedNov 24, 2024
First seenNov 24, 2024
Weakness typeCWE-78OS command injection
How to fix
Update
- virtualenv virtualenv20.26.6 or later
- virtualenv20.26.6 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| virtualenv virtualenv | v < 20.26.6 | 20.26.6 |
| virtualenvPyPI | v < 20.26.6 | 20.26.6 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.