CVE-2019-20916
HIGH7.5EPSS 0.62%python-pip - security update
Published: 6/9/2021Modified: 4/28/2026
Description
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 (4)
- Debian/python-pipfrom 0, < 20.0.2-1
- Debian/python-pipfrom 0, < 9.0.1-2+deb9u2
- PyPI/pipfrom 0, < 19.2
- PyPI/pipfrom 0, < a4c735b14a62f9cb864533808ac63936704f2ace | from 0, < 19.2
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N |
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
References (13)
- ADVISORYhttps://github.com/advisories/GHSA-gpvv-69j7-gwj8
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2019-20916
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2019-20916
- WEBhttp://lists.opensuse.org/opensuse-security-announce/2020-10/msg00005.html
- WEBhttp://lists.opensuse.org/opensuse-security-announce/2020-10/msg00010.html
- WEBhttps://github.com/gzpan123/pip/commit/a4c735b14a62f9cb864533808ac63936704f2ace
- WEBhttps://github.com/pypa/advisory-database/tree/main/vulns/pip/PYSEC-2020-173.yaml
- WEBhttps://github.com/pypa/pip
- WEBhttps://github.com/pypa/pip/compare/19.1.1...19.2
- WEBhttps://github.com/pypa/pip/issues/6413
- WEBhttps://lists.debian.org/debian-lts-announce/2020/09/msg00010.html
- WEBhttps://www.oracle.com/security-alerts/cpuapr2022.html
- WEBhttps://www.oracle.com/security-alerts/cpujul2022.html