CVE-2019-20916
mediumpriority · track · 31EPSS 0.030 · 87 %ileDEEURUUSEPSS · scored 2026-10-27
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.
remediations
Vendor fix, mitigation, or workaround guidance, as published by each source.
A vendor fix is available.
- Fixedplatform-python-pip-0:9.0.3-18.el8.noarch as a component of Red Hat Enterprise Linux BaseOS (v. 8)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2020:4432 - Fixedpython-pip-0:9.0.3-18.el8.src as a component of Red Hat Enterprise Linux BaseOS (v. 8)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2020:4432 - Fixedpython3-pip-0:9.0.3-18.el8.noarch as a component of Red Hat Enterprise Linux AppStream (v. 8)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2020:4432 - Fixedpython3-pip-wheel-0:9.0.3-18.el8.noarch as a component of Red Hat Enterprise Linux BaseOS (v. 8)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2020:4432 - Workaroundplatform-python-pip-0:9.0.3-18.el8.noarch as a component of Red Hat Enterprise Linux BaseOS (v. 8)redhat_csaf
Avoid downloading or installing packages from potentially malicious servers via the command-line "pip download" or "pip install".
- Workaroundpython-pip-0:9.0.3-18.el8.src as a component of Red Hat Enterprise Linux BaseOS (v. 8)redhat_csaf
Avoid downloading or installing packages from potentially malicious servers via the command-line "pip download" or "pip install".
- Workaroundpython3-pip-0:9.0.3-18.el8.noarch as a component of Red Hat Enterprise Linux AppStream (v. 8)redhat_csaf
Avoid downloading or installing packages from potentially malicious servers via the command-line "pip download" or "pip install".
- Workaroundpython3-pip-wheel-0:9.0.3-18.el8.noarch as a component of Red Hat Enterprise Linux BaseOS (v. 8)redhat_csaf
Avoid downloading or installing packages from potentially malicious servers via the command-line "pip download" or "pip install".
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 5–8
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (27)
Products and version ranges known to be affected.
- oracle communications cloud native core network function cloud native environment= 1.10.0nvdUScpe:2.3:a:oracle:communications_cloud_native_core_network_function_cloud_native_environment:*:*:*:*:*:*:*:*
- oracle communications cloud native core network function cloud native environment= 22.1.0nvdUScpe:2.3:a:oracle:communications_cloud_native_core_network_function_cloud_native_environment:*:*:*:*:*:*:*:*
advisories (6)
Vendor and ecosystem advisories describing this.
- RHSA-2020:4432Red Hat Security Advisory: python-pip security update2020-11-04csaf · redhat_csafUS
An update for python-pip is now available for Red Hat Enterprise Linux 8. Red Hat Product Security has rated this update as having a security impact of Moderate. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section.
- WID-SEC-W-2022-0193Red Hat Enterprise Linux: Mehrere SchwachstellenDeutsch2020-11-03csaf · cert_bundDE
Ein entfernter, anonymer Angreifer kann mehrere Schwachstellen in Red Hat Enterprise Linux ausnutzen, um die Verfügbarkeit, Integrität und Vertraulichkeit zu gefährden.
- WID-SEC-W-2023-1016Oracle Fusion Middleware: Mehrere SchwachstellenDeutsch2023-04-18csaf · cert_bundDE
Ein entfernter, anonymer Angreifer kann mehrere Schwachstellen in Oracle Fusion Middleware ausnutzen, um die Vertraulichkeit, Integrität und Verfügbarkeit zu gefährden.
- WID-SEC-W-2025-0227IBM QRadar SIEM: Mehrere SchwachstellenDeutsch2021-11-30csaf · cert_bundDE
Ein entfernter, authentisierter Angreifer kann mehrere Schwachstellen in IBM QRadar SIEM ausnutzen, um seine Privilegien zu erweitern, Administratorrechte zu erlangen, beliebigen Programmcode auszuführen, Informationen offenzulegen, Dateien zu manipulieren oder Sicherheitsvorkehrungen zu umgehen.
- GHSA-gpvv-69j7-gwj8Path Traversal in pip2021-06-09ghsa · osvUS
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.
- PYSEC-2020-1732020-09-04vendor · osvUS
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.
also known as (7)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (63)
External citations — patches, advisories, analysis.
- http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00005.htmlcnnvd
- http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00010.htmlcnnvd
- https://github.com/gzpan123/pip/commit/a4c735b14a62f9cb864533808ac63936704f2acecnnvd
- https://github.com/pypa/pip/compare/19.1.1...19.2cnnvd
- https://github.com/pypa/pip/issues/6413cnnvd
- https://lists.debian.org/debian-lts-announce/2020/09/msg00010.htmlcnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2019-20916cnnvd
- https://packetstormsecurity.com/files/159650/Red-Hat-Security-Advisory-2020-4273-01.htmlcnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan