ADVISORIES

Red Hat VEX

RHVEX-CVE-2019-20916

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

Moderate No fix available CVE-2019-20916

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

EcosystemPackageAffected versions
Red Hat:enterprise_linux:7python-pip
All versions, will not be fixed
Red Hat:enterprise_linux:7python3-pip
All versions, will not be fixed

References