Pypa virtualenv
virtualenv: Bash prompt values can change meaning under older compatibility modes
virtualenv is a tool for creating isolated virtual python environments. Prior to 21.14.9, caller-supplied prompt text can become executable syntax in the bash activation prompt. An attacker must influence the value passed to virtualenv, and a user must subsequently activate the environment and draw the prompt. This vulnerability is fixed in 21.14.9.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.8high · scored by NVD · 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.9
Fixed in 21.14.9
Mitigation
Upgrade virtualenv to 21.14.9 or later.
References
- Vendor advisory github.com/pypa/virtualenv/security/advisories…
- Patch github.com/pypa/virtualenv/pull/3418
- Patch github.com/pypa/virtualenv/commit/5f48d7117313…
1 more
- 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.