virtualenv is a tool for creating isolated virtual python environments. Prior to 21.14.7, the bash activate script escapes the environment name for on...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Ubuntu:14.04:LTSpython-virtualenv |
All versions→ Not listed |
Not listed |
| Ubuntu:16.04:LTSpython-virtualenv |
All versions→ Not listed |
Not listed |
| Ubuntu:18.04:LTSpython-virtualenv |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:20.04:LTSpython-virtualenv |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:22.04:LTSpython-virtualenv |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:24.04:LTSpython-virtualenv |
All versions→ Not listed |
Not listed |
| Ubuntu:26.10python-virtualenv |
All versions→ Not listed |
Not listed |
| Ubuntu:26.04:LTSpython-virtualenv |
All versions→ Not listed |
Not listed |
This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.
Original description The description as published by the source.
virtualenv is a tool for creating isolated virtual python environments. Prior to 21.14.7, the bash activate script escapes the environment name for only one of the two passes bash makes over PS1, so a backslash in the name undoes the escaping and a name containing $(...) runs as commands in the user's shell each time bash draws the prompt. This issue is fixed in version 21.14.7.
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- report ubuntu.com
- report cve.org
- report github.com