virtualenv is vulnerable to Path Traversal
65
CVE Score
Medium
Path Traversal
Affected versions of this package are vulnerable to path traversal due to improper validation of paths within zipapp archives. The affected logic determines whether a resolved path stays within the archive using string-based prefix checks after os.path.realpath, which is unreliable across platforms and can be bypassed in edge cases involving path separators or symlinks. An attacker able to supply crafted paths can cause resolution outside the intended archive boundary, potentially accessing unintended files on the filesystem.
Upgrade the virtualenv library to a patch version.
You are affected if you are using a version that falls within the vulnerable range.
20.0.0 - 21.2.3
Fixed in 21.2.4virtualenv is vulnerable to Path Traversal in versions 20.0.0 - 21.2.3.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.