virtualenv is a tool for creating isolated virtual python environments. Prior to 21.14.9, POSIX xonsh activation quote() uses repr() to write printabl...
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.9, POSIX xonsh activation quote() uses repr() to write printable non-ASCII prompt or destination data into UTF-8 activate.xsh, while xonsh can read that script using $XONSH_ENCODING. Under a legacy multibyte codec such as GBK or Big5, a UTF-8 trail byte can consume the backslash before an adjacent quote, allowing the literal to close and attacker-influenced statements to execute when the user sources the generated script. This issue is fixed in version 21.14.9.
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- report ubuntu.com
- report cve.org
- report github.com
- report github.com