GHSA-gpvv-69j7-gwj8HighCVSS 7.5

Path Traversal in pip

Published
June 9, 2021
Last Modified
October 11, 2024

🔗 CVE IDs covered (1)

📋 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. A fix was committed 6704f2ace.

🎯 Affected products1

  • pip/pip:< 19.2

🔗 References (11)