Skip to main content
← All vulnerabilities
CVE-2019-20916PYSEC-2020-173GHSA-GPVV-69J7-GWJ8

The pip package before 19.2 for Python allows Directory Traversal when a URL is given in an install command, because a Content-Disposition h

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 19.2
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • n/a n/a

    Version range not reported

  • pipPyPI

    fixed in 19.2

  • pipPyPI

    fixed in 19.2

References 8

GitHub · pypa/pip

GitHub · gzpan123/pip

lists.debian.org

lists.opensuse.org

oracle.com