Pypa virtualenv
virtualenv bash activate runs commands from an environment name with a backslash before $
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.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.8high · scored by CNA · CWE-78
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
pypa virtualenv
- < 21.14.7
Fixed in 21.14.7
Mitigation
Upgrade virtualenv to 21.14.7 or later.
References
- Vendor advisory github.com/pypa/virtualenv/security/advisories…
- Patch github.com/pypa/virtualenv/commit/c3104e02474b…
- Release notes github.com/pypa/virtualenv/releases/tag/21.14.…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.