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
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 19.2
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- 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
- CVE published
- Record last updated
Affected versions
- n/a n/a
Version range not reported
- pipPyPI
fixed in 19.2
- pipPyPI
fixed in 19.2