Path Traversal in pip
The pip package before 19.2 for Python allows Directory Traversal when a URL is given in an install command, because a Content-Disposition header can have ../ in a filename, as demonstrated by overwriting the /root/.ssh/authorized_keys file. This occurs in _download_http_url in _internal/download.py. A fix was committed 6704f2ace.
01
describes (1)
Related CVEs.
| ID | severity | exploitable | ||
|---|---|---|---|---|
| CVE-2019-20916US | high7.5 | — | ||
The pip package before 19.2 for Python allows Directory Traversal when a URL is given in an install command, because a Content-Disposition header can have ../ in a filename, as dem… | ||||
02
references
External citations — patches, advisories, analysis.
- http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00005.htmlWEB
- http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00010.htmlWEB
- https://github.com/advisories/GHSA-gpvv-69j7-gwj8ADVISORY
- https://github.com/gzpan123/pip/commit/a4c735b14a62f9cb864533808ac63936704f2aceWEB
- https://github.com/pypa/advisory-database/tree/main/vulns/pip/PYSEC-2020-173.yamlWEB
- https://github.com/pypa/pipWEB
- https://github.com/pypa/pip/compare/19.1.1...19.2WEB
- https://github.com/pypa/pip/issues/6413WEB
scry
Advisories like this name the exposed products attackers go after on your perimeter. See what is exposed on your perimeter with a free passive scan.
Free scan