PYSEC-2020-192
not scored yetwithdrawn / rejectedThe 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.
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | PyPI | pip | < 19.2 | 19.2 |
References
- https://github.com/pypa/pip/issues/6413 · WEB
- https://github.com/gzpan123/pip/commit/a4c735b14a62f9cb864533808ac63936704f2ace · WEB
- https://github.com/pypa/pip/compare/19.1.1...19.2 · WEB
- https://lists.debian.org/debian-lts-announce/2020/09/msg00010.html · WEB
- http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00005.html · WEB
- http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00010.html · WEB
History
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 4 Sep 2020)