Description
When pip is installing and extracting a maliciously crafted wheel archive, files may be extracted outside the installation directory. The path traversal is limited to prefixes of the installation directory, thus isn't able to inject or overwrite executable files in typical situations.
Problem types
CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Product status
Any version before 26.0
References
github.com/pypa/pip/pull/13777
github.com/...ommit/8e227a9be4faa9594e05d02ca05a413a2a4e7735
mail.python.org/.../thread/WIEA34D4TABF2UNQJAOMXKCICSPBE2DJ/