CVE-2019-20916

python-pip: directory traversal in _download_http_url() function in src/pip/_internal/download.py

Published Sep 4, 2020 CVSS 3.1 · 7.5 High EPSS 3.0% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-2370-1 python-pip security update
Github GHSA Github GHSA GHSA-gpvv-69j7-gwj8 Path Traversal in pip
Ubuntu USN Ubuntu USN USN-4601-1 pip vulnerability
History

No history.