~ / search / GHSA-gpvv-69j7-gwj8

GHSA-gpvv-69j7-gwj8

Path Traversal in pip

Source: GitHub Advisory Database (reviewed) High CVE-2019-20916

Packages

EcosystemPackageAffectedFixed in
PyPI pip < 19.2 19.2

Details

As written in the advisory (Markdown source, shown as plain text).

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.

References

External links from the advisory. They lead to third-party sites.