SecurityContext

CVE-2019-20916: pip - Path Traversal

  • Cve: CVE-2019-20916
  • Name: pip - Path Traversal
  • 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.
  • Impact: Attackers can overwrite arbitrary files on the system, potentially leading to privilege escalation or system compromise.
  • Remediation: Update pip to version 19.2 or later.
  • Vulnerability type: path_traversal
  • Vulnerability impact: file_system_write
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.5
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
  • Epss score: 0.03003
  • Epss percentile: 0.87723
  • Assignee: [email protected]
  • Published at: 2020-09-04T20:15:11Z
  • Age in days: 2272
  • Modified at: 2026-06-17T02:31:25Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 8
  • Products total: 5
  • Oss: yes
  • Projects total: 2
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2019-20916
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-22Improper Limitation of a Pathname to a Restricted Directory

Public exploits

UrlSourceAdded date
https://github.com/pypa/pip/issues/6413nvd2020-09-04

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/gzpan123/pip/commit/a4c735b14a62f9cb864533808ac63936704f2acePatch
https://github.com/pypa/pip/compare/19.1.1...19.2Patch
https://github.com/pypa/pip/issues/6413Exploit, Patch
https://www.oracle.com/security-alerts/cpuapr2022.htmlPatch, Third Party Advisory
https://www.oracle.com/security-alerts/cpujul2022.htmlPatch, Third Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00005.htmlMailing List, Third Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00010.htmlMailing List, Third Party Advisory
https://lists.debian.org/debian-lts-announce/2020/09/msg00010.htmlMailing List, Third Party Advisory

Products

Same in every row:

  • Platform bound: no
  • Sources: nvd
ProductAffectedUrl
pypa:pip< 19.2/v1/products/pypa/pip
debian:debian_linux= 9.0/v1/products/debian/debian_linux
opensuse:leap= 15.2, = 15.1/v1/products/opensuse/leap
oracle:communications_cloud_native_core_policy= 1.15.0/v1/products/oracle/communications_cloud_native_core_policy
oracle:communications_cloud_native_core_network_function_cloud_native_environment= 22.1.0, = 1.10.0/v1/products/oracle/communications_cloud_native_core_network_function_cloud_native_environment

Projects

RepositoryLink kindsIndexedUrl
pypa/pipcompare, issuesyes/v1/repositories/pypa/pip
gzpan123/pipcommityes/v1/repositories/gzpan123/pip

Index

  • Repositories: 244
  • Repositories high signal: 155
  • Packages: 1

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2020-09-04
  • Remote: yes
  • Exposed hosts: 4739835
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports