Debian Security Tracker
DEBIAN-CVE-2019-20916
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Debian:12 | python-pip | All versions before 20.0.2-1 (fixed in 20.0.2-1) |
| Debian:13 | python-pip | All versions before 20.0.2-1 (fixed in 20.0.2-1) |
| Debian:14 | python-pip | All versions before 20.0.2-1 (fixed in 20.0.2-1) |