Ubuntu CVE Tracker
UBUNTU-CVE-2024-53899
Details
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 versions |
|---|---|---|
| Ubuntu:14.04:LTS | python-virtualenv | All versions, no fix listed |
| Ubuntu:Pro:22.04:LTS | python-virtualenv | All versions before 20.13.0+ds-2ubuntu0.1~esm1 (fixed in 20.13.0+ds-2ubuntu0.1~esm1) |
| Ubuntu:Pro:24.04:LTS | python-virtualenv | All versions before 20.25.0+ds-2ubuntu0.1~esm1 (fixed in 20.25.0+ds-2ubuntu0.1~esm1) |
References
- https://ubuntu.com/security/CVE-2024-53899
- https://www.cve.org/CVERecord?id=CVE-2024-53899
- 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://ubuntu.com/security/notices/USN-7271-1
- https://ubuntu.com/security/notices/USN-7271-2