CVE-2019-20916
publishedpython-pip: directory traversal in _download_http_url() function in src/pip/_internal/download.py
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Amazon Linux | AL2 | Release evaluationALAS2-2021-1639 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 8 | python-psycopg2-doc | Advisory build | 2.7.5-7.module_el8.6.0+2781+fed64c13 | ALSA-2020:4654 |
| Oracle Linux | 7 | python-virtualenvaarch64 | Advisory build | 0:15.1.0-7.el7_9 | ELSA-2022-5234 |
| AlmaLinux | 8 | python-sqlalchemy-doc | Advisory build | 1.3.2-2.module_el8.5.0+2569+5c5719bc | ALSA-2020:4654 |
| AlmaLinux | 8 | python-sqlalchemy-doc | Advisory build | 1.3.2-2.module_el8.6.0+2781+fed64c13 | ALSA-2020:4654 |
| AlmaLinux | 8 | python2-Cython | Advisory build | 0.28.1-7.module_el8.6.0+2781+fed64c13 | ALSA-2020:4654 |
| AlmaLinux | 8 | python2-PyMySQL | Advisory build | 0.8.0-10.module_el8.6.0+2781+fed64c13 | ALSA-2020:4654 |
Show 94 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| AlmaLinux | 8 | python2-attrs | Advisory build | 17.4.0-10.module_el8.6.0+2781+fed64c13 | ALSA-2020:4654 |
| AlmaLinux | 8 | python2-chardet | Advisory build | 3.0.4-10.module_el8.6.0+2781+fed64c13 | ALSA-2020:4654 |
| AlmaLinux | 8 | python2-coverage | Advisory build | 4.5.1-4.module_el8.6.0+2781+fed64c13 | ALSA-2020:4654 |
| AlmaLinux | 8 | python2-dns | Advisory build | 1.15.0-10.module_el8.6.0+2781+fed64c13 | ALSA-2020:4654 |
| AlmaLinux | 8 | python2-docs | Advisory build | 2.7.16-2.module_el8.6.0+2781+fed64c13 | ALSA-2020:4654 |
| AlmaLinux | 8 | python2-docs-info | Advisory build | 2.7.16-2.module_el8.6.0+2781+fed64c13 | ALSA-2020:4654 |
| AlmaLinux | 8 | python2-docutils | Advisory build | 0.14-12.module_el8.6.0+2781+fed64c13 | ALSA-2020:4654 |
| AlmaLinux | 8 | python2-funcsigs | Advisory build | 1.0.2-13.module_el8.6.0+2781+fed64c13 | ALSA-2020:4654 |
| AlmaLinux | 8 | python2-idna | Advisory build | 2.5-7.module_el8.6.0+2781+fed64c13 | ALSA-2020:4654 |
| AlmaLinux | 8 | python2-ipaddress | Advisory build | 1.0.18-6.module_el8.6.0+2781+fed64c13 | ALSA-2020:4654 |
| AlmaLinux | 8 | python2-markupsafe | Advisory build | 0.23-19.module_el8.6.0+2781+fed64c13 | ALSA-2020:4654 |
| AlmaLinux | 8 | python2-mock | Advisory build | 2.0.0-13.module_el8.6.0+2781+fed64c13 | ALSA-2020:4654 |
| AlmaLinux | 8 | python2-pluggy | Advisory build | 0.6.0-8.module_el8.6.0+2781+fed64c13 | ALSA-2020:4654 |
| AlmaLinux | 8 | python2-psycopg2 | Advisory build | 2.7.5-7.module_el8.6.0+2781+fed64c13 | ALSA-2020:4654 |
| AlmaLinux | 8 | python2-psycopg2-debug | Advisory build | 2.7.5-7.module_el8.6.0+2781+fed64c13 | ALSA-2020:4654 |
| AlmaLinux | 8 | python2-psycopg2-tests | Advisory build | 2.7.5-7.module_el8.6.0+2781+fed64c13 | ALSA-2020:4654 |
| AlmaLinux | 8 | python2-py | Advisory build | 1.5.3-6.module_el8.6.0+2781+fed64c13 | ALSA-2020:4654 |
| AlmaLinux | 8 | python2-pysocks | Advisory build | 1.6.8-6.module_el8.6.0+2781+fed64c13 | ALSA-2020:4654 |
| AlmaLinux | 8 | python2-pytest | Advisory build | 3.4.2-13.module_el8.6.0+2781+fed64c13 | ALSA-2020:4654 |
| AlmaLinux | 8 | python2-pytest-mock | Advisory build | 1.9.0-4.module_el8.6.0+2781+fed64c13 | ALSA-2020:4654 |
| AlmaLinux | 8 | python2-pytz | Advisory build | 2017.2-12.module_el8.6.0+2781+fed64c13 | ALSA-2020:4654 |
| AlmaLinux | 8 | python2-pyyaml | Advisory build | 3.12-16.module_el8.6.0+2781+fed64c13 | ALSA-2020:4654 |
| AlmaLinux | 8 | python2-requests | Advisory build | 2.20.0-3.module_el8.6.0+2781+fed64c13 | ALSA-2020:4654 |
| AlmaLinux | 8 | python2-rpm-macros | Advisory build | 3-38.module_el8.6.0+2781+fed64c13 | ALSA-2020:4654 |
| AlmaLinux | 8 | python2-setuptools_scm | Advisory build | 1.15.7-6.module_el8.6.0+2781+fed64c13 | ALSA-2020:4654 |
| AlmaLinux | 8 | python2-sqlalchemy | Advisory build | 1.3.2-2.module_el8.6.0+2781+fed64c13 | ALSA-2020:4654 |
| Oracle Linux | 7 | python-virtualenvx86_64 | Advisory build | 0:15.1.0-7.el7_9 | ELSA-2022-5234 |
| Oracle Linux | 7 | python3-pipaarch64 | Advisory build | 0:9.0.3-8.0.1.el7 | ELSA-2022-9204 |
| Oracle Linux | 7 | python3-pipx86_64 | Advisory build | 0:9.0.3-8.0.1.el7 | ELSA-2022-9204 |
| Oracle Linux | 8 | babelaarch64 · python27 · 2.7b | Advisory build | 0:2.5.1-9.module+el8.3.0+7833+4aaf98ce | ELSA-2020-4654 |
| Oracle Linux | 8 | babelx86_64 · python27 · 2.7b | Advisory build | 0:2.5.1-9.module+el8.3.0+7833+4aaf98ce | ELSA-2020-4654 |
| Oracle Linux | 8 | platform-python-pipaarch64 | Advisory build | 0:9.0.3-18.el8 | ELSA-2020-4432 |
| Oracle Linux | 8 | platform-python-pipx86_64 | Advisory build | 0:9.0.3-18.el8 | ELSA-2020-4432 |
| Oracle Linux | 8 | python-nose-docsaarch64 · python27 · 2.7b | Advisory build | 0:1.3.7-30.module+el8.3.0+7833+4aaf98ce | ELSA-2020-4654 |
| Oracle Linux | 8 | python-nose-docsx86_64 · python27 · 2.7b | Advisory build | 0:1.3.7-30.module+el8.3.0+7833+4aaf98ce | ELSA-2020-4654 |
| Oracle Linux | 8 | python-psycopg2-docaarch64 · python27 · 2.7b | Advisory build | 0:2.7.5-7.module+el8.3.0+7833+4aaf98ce | ELSA-2020-4654 |
| Oracle Linux | 8 | python-psycopg2-docx86_64 · python27 · 2.7b | Advisory build | 0:2.7.5-7.module+el8.3.0+7833+4aaf98ce | ELSA-2020-4654 |
| Oracle Linux | 8 | python-sqlalchemy-docaarch64 · python27 · 2.7b | Advisory build | 0:1.3.2-2.module+el8.3.0+7833+4aaf98ce | ELSA-2020-4654 |
| Oracle Linux | 8 | python-sqlalchemy-docx86_64 · python27 · 2.7b | Advisory build | 0:1.3.2-2.module+el8.3.0+7833+4aaf98ce | ELSA-2020-4654 |
| Oracle Linux | 8 | python2aarch64 · python27 · 2.7b | Advisory build | 0:2.7.17-2.0.1.module+el8.3.0+7833+4aaf98ce | ELSA-2020-4654 |
| Oracle Linux | 8 | python2x86_64 · python27 · 2.7b | Advisory build | 0:2.7.17-2.0.1.module+el8.3.0+7833+4aaf98ce | ELSA-2020-4654 |
| Oracle Linux | 8 | python2-Cythonaarch64 · python27 · 2.7b | Advisory build | 0:0.28.1-7.module+el8.3.0+7833+4aaf98ce | ELSA-2020-4654 |
| Oracle Linux | 8 | python2-Cythonx86_64 · python27 · 2.7b | Advisory build | 0:0.28.1-7.module+el8.3.0+7833+4aaf98ce | ELSA-2020-4654 |
| Oracle Linux | 8 | python2-PyMySQLaarch64 · python27 · 2.7b | Advisory build | 0:0.8.0-10.module+el8.3.0+7833+4aaf98ce | ELSA-2020-4654 |
| Oracle Linux | 8 | python2-PyMySQLx86_64 · python27 · 2.7b | Advisory build | 0:0.8.0-10.module+el8.3.0+7833+4aaf98ce | ELSA-2020-4654 |
| Oracle Linux | 8 | python2-attrsaarch64 · python27 · 2.7b | Advisory build | 0:17.4.0-10.module+el8.3.0+7833+4aaf98ce | ELSA-2020-4654 |
| Oracle Linux | 8 | python2-attrsx86_64 · python27 · 2.7b | Advisory build | 0:17.4.0-10.module+el8.3.0+7833+4aaf98ce | ELSA-2020-4654 |
| Oracle Linux | 8 | python2-babelaarch64 · python27 · 2.7b | Advisory build | 0:2.5.1-9.module+el8.3.0+7833+4aaf98ce | ELSA-2020-4654 |
| Oracle Linux | 8 | python2-babelx86_64 · python27 · 2.7b | Advisory build | 0:2.5.1-9.module+el8.3.0+7833+4aaf98ce | ELSA-2020-4654 |
| Oracle Linux | 8 | python2-backportsaarch64 · python27 · 2.7b | Advisory build | 0:1.0-15.0.1.module+el8.3.0+7833+4aaf98ce | ELSA-2020-4654 |
| Oracle Linux | 8 | python2-backportsx86_64 · python27 · 2.7b | Advisory build | 0:1.0-15.0.1.module+el8.3.0+7833+4aaf98ce | ELSA-2020-4654 |
| Oracle Linux | 8 | python2-backports-ssl_match_hostnameaarch64 · python27 · 2.7b | Advisory build | 0:3.5.0.1-11.module+el8.3.0+7833+4aaf98ce | ELSA-2020-4654 |
| Oracle Linux | 8 | python2-backports-ssl_match_hostnamex86_64 · python27 · 2.7b | Advisory build | 0:3.5.0.1-11.module+el8.3.0+7833+4aaf98ce | ELSA-2020-4654 |
| Oracle Linux | 8 | python2-bsonaarch64 · python27 · 2.7b | Advisory build | 0:3.6.1-11.module+el8.3.0+7833+4aaf98ce | ELSA-2020-4654 |
| Oracle Linux | 8 | python2-bsonx86_64 · python27 · 2.7b | Advisory build | 0:3.6.1-11.module+el8.3.0+7833+4aaf98ce | ELSA-2020-4654 |
| Oracle Linux | 8 | python2-chardetaarch64 · python27 · 2.7b | Advisory build | 0:3.0.4-10.module+el8.3.0+7833+4aaf98ce | ELSA-2020-4654 |
| Oracle Linux | 8 | python2-chardetx86_64 · python27 · 2.7b | Advisory build | 0:3.0.4-10.module+el8.3.0+7833+4aaf98ce | ELSA-2020-4654 |
| Oracle Linux | 8 | python2-coverageaarch64 · python27 · 2.7b | Advisory build | 0:4.5.1-4.module+el8.3.0+7833+4aaf98ce | ELSA-2020-4654 |
| Oracle Linux | 8 | python2-coveragex86_64 · python27 · 2.7b | Advisory build | 0:4.5.1-4.module+el8.3.0+7833+4aaf98ce | ELSA-2020-4654 |
| Oracle Linux | 8 | python2-debugaarch64 · python27 · 2.7b | Advisory build | 0:2.7.17-2.0.1.module+el8.3.0+7833+4aaf98ce | ELSA-2020-4654 |
| Oracle Linux | 8 | python2-debugx86_64 · python27 · 2.7b | Advisory build | 0:2.7.17-2.0.1.module+el8.3.0+7833+4aaf98ce | ELSA-2020-4654 |
| Oracle Linux | 8 | python2-develaarch64 · python27 · 2.7b | Advisory build | 0:2.7.17-2.0.1.module+el8.3.0+7833+4aaf98ce | ELSA-2020-4654 |
| Oracle Linux | 8 | python2-develx86_64 · python27 · 2.7b | Advisory build | 0:2.7.17-2.0.1.module+el8.3.0+7833+4aaf98ce | ELSA-2020-4654 |
| Oracle Linux | 8 | python2-dnsaarch64 · python27 · 2.7b | Advisory build | 0:1.15.0-10.module+el8.3.0+7833+4aaf98ce | ELSA-2020-4654 |
| Oracle Linux | 8 | python2-dnsx86_64 · python27 · 2.7b | Advisory build | 0:1.15.0-10.module+el8.3.0+7833+4aaf98ce | ELSA-2020-4654 |
| Oracle Linux | 8 | python2-docsaarch64 · python27 · 2.7b | Advisory build | 0:2.7.16-2.module+el8.3.0+7833+4aaf98ce | ELSA-2020-4654 |
| Oracle Linux | 8 | python2-docsx86_64 · python27 · 2.7b | Advisory build | 0:2.7.16-2.module+el8.3.0+7833+4aaf98ce | ELSA-2020-4654 |
| Oracle Linux | 8 | python2-docs-infoaarch64 · python27 · 2.7b | Advisory build | 0:2.7.16-2.module+el8.3.0+7833+4aaf98ce | ELSA-2020-4654 |
| Oracle Linux | 8 | python2-docs-infox86_64 · python27 · 2.7b | Advisory build | 0:2.7.16-2.module+el8.3.0+7833+4aaf98ce | ELSA-2020-4654 |
| Oracle Linux | 8 | python2-docutilsaarch64 · python27 · 2.7b | Advisory build | 0:0.14-12.module+el8.3.0+7833+4aaf98ce | ELSA-2020-4654 |
| Oracle Linux | 8 | python2-docutilsx86_64 · python27 · 2.7b | Advisory build | 0:0.14-12.module+el8.3.0+7833+4aaf98ce | ELSA-2020-4654 |
| Oracle Linux | 8 | python2-funcsigsaarch64 · python27 · 2.7b | Advisory build | 0:1.0.2-13.module+el8.3.0+7833+4aaf98ce | ELSA-2020-4654 |
| Oracle Linux | 8 | python2-funcsigsx86_64 · python27 · 2.7b | Advisory build | 0:1.0.2-13.module+el8.3.0+7833+4aaf98ce | ELSA-2020-4654 |
| Oracle Linux | 8 | python2-idnaaarch64 · python27 · 2.7b | Advisory build | 0:2.5-7.module+el8.3.0+7833+4aaf98ce | ELSA-2020-4654 |
| Oracle Linux | 8 | python2-idnax86_64 · python27 · 2.7b | Advisory build | 0:2.5-7.module+el8.3.0+7833+4aaf98ce | ELSA-2020-4654 |
| Oracle Linux | 8 | python2-ipaddressaarch64 · python27 · 2.7b | Advisory build | 0:1.0.18-6.module+el8.3.0+7833+4aaf98ce | ELSA-2020-4654 |
| Oracle Linux | 8 | python2-ipaddressx86_64 · python27 · 2.7b | Advisory build | 0:1.0.18-6.module+el8.3.0+7833+4aaf98ce | ELSA-2020-4654 |
| Oracle Linux | 8 | python2-jinja2aarch64 · python27 · 2.7b | Advisory build | 0:2.10-8.module+el8.3.0+7833+4aaf98ce | ELSA-2020-4654 |
| Oracle Linux | 8 | python2-jinja2x86_64 · python27 · 2.7b | Advisory build | 0:2.10-8.module+el8.3.0+7833+4aaf98ce | ELSA-2020-4654 |
| Oracle Linux | 8 | python2-libsaarch64 · python27 · 2.7b | Advisory build | 0:2.7.17-2.0.1.module+el8.3.0+7833+4aaf98ce | ELSA-2020-4654 |
| Oracle Linux | 8 | python2-libsx86_64 · python27 · 2.7b | Advisory build | 0:2.7.17-2.0.1.module+el8.3.0+7833+4aaf98ce | ELSA-2020-4654 |
| Oracle Linux | 8 | python2-lxmlaarch64 · python27 · 2.7b | Advisory build | 0:4.2.3-3.module+el8.3.0+7833+4aaf98ce | ELSA-2020-4654 |
| Oracle Linux | 8 | python2-lxmlx86_64 · python27 · 2.7b | Advisory build | 0:4.2.3-3.module+el8.3.0+7833+4aaf98ce | ELSA-2020-4654 |
| Oracle Linux | 8 | python2-markupsafeaarch64 · python27 · 2.7b | Advisory build | 0:0.23-19.module+el8.3.0+7833+4aaf98ce | ELSA-2020-4654 |
| Oracle Linux | 8 | python2-markupsafex86_64 · python27 · 2.7b | Advisory build | 0:0.23-19.module+el8.3.0+7833+4aaf98ce | ELSA-2020-4654 |
| Oracle Linux | 8 | python2-mockaarch64 · python27 · 2.7b | Advisory build | 0:2.0.0-13.module+el8.3.0+7833+4aaf98ce | ELSA-2020-4654 |
| Oracle Linux | 8 | python2-mockx86_64 · python27 · 2.7b | Advisory build | 0:2.0.0-13.module+el8.3.0+7833+4aaf98ce | ELSA-2020-4654 |
| Oracle Linux | 8 | python2-noseaarch64 · python27 · 2.7b | Advisory build | 0:1.3.7-30.module+el8.3.0+7833+4aaf98ce | ELSA-2020-4654 |
| Oracle Linux | 8 | python2-nosex86_64 · python27 · 2.7b | Advisory build | 0:1.3.7-30.module+el8.3.0+7833+4aaf98ce | ELSA-2020-4654 |
| Oracle Linux | 8 | python2-numpyaarch64 · python27 · 2.7b | Advisory build | 1:1.14.2-13.module+el8.3.0+7833+4aaf98ce | ELSA-2020-4654 |
| Oracle Linux | 8 | python2-numpyx86_64 · python27 · 2.7b | Advisory build | 1:1.14.2-13.module+el8.3.0+7833+4aaf98ce | ELSA-2020-4654 |
| Oracle Linux | 8 | python2-numpy-docaarch64 · python27 · 2.7b | Advisory build | 1:1.14.2-13.module+el8.3.0+7833+4aaf98ce | ELSA-2020-4654 |
| Oracle Linux | 8 | python2-numpy-docx86_64 · python27 · 2.7b | Advisory build | 1:1.14.2-13.module+el8.3.0+7833+4aaf98ce | ELSA-2020-4654 |
| Oracle Linux | 8 | python2-numpy-f2pyaarch64 · python27 · 2.7b | Advisory build | 1:1.14.2-13.module+el8.3.0+7833+4aaf98ce | ELSA-2020-4654 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Showing the first 100 linked advisory records.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
8- openSUSE-SU-2020:1598 http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00005.html
- openSUSE-SU-2020:1613 http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00010.html
- https://github.com/gzpan123/pip/commit/a4c735b14a62f9cb864533808ac63936704f2ace
- https://github.com/pypa/pip/compare/19.1.1...19.2
- https://github.com/pypa/pip/issues/6413
- [debian-lts-announce] 20200911 [SECURITY] [DLA 2370-1] python-pip security update https://lists.debian.org/debian-lts-announce/2020/09/msg00010.html
- https://www.oracle.com/security-alerts/cpuapr2022.html
- https://www.oracle.com/security-alerts/cpujul2022.html
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 03b37b47d73ca8bd5c755da51301c9d321668665171bbf3c0b3ed7b68c7a597c
- Ingested
- 23 Sep 2026, 07:46:49 UTC
- Source record
- Official CVE record