Red Hat VEX
RHVEX-CVE-2019-20916
python-pip: directory traversal in _download_http_url() function in src/pip/_internal/download.py
Details
A flaw was found in the pip package installer for Python when downloading or installing a remote package via a specified URL. Improper validation of the "Content-Disposition" HTTP response header makes a path traversal attack possible, leading to an arbitrary file overwrite. This flaw allows an attacker who controls a malicious server to execute arbitrary code on the system.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Red Hat:enterprise_linux:7 | python-pip | All versions, will not be fixed |
| Red Hat:enterprise_linux:7 | python3-pip | All versions, will not be fixed |