cve.bz

CVE-2019-20916

7.5 highEPSS 3.0%

High (7.5). EPSS 3.0% chance of exploitation in the next 30 days. Fixed in pip 19.2.

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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
EPSS
3.0% chance of exploitation in the next 30 days; higher than 87% of CVEs (scores of 2026-10-31)
CWE
CWE-22
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-gpvv-69j7-gwj8PyPIpip<19.219.2
PYSEC-2020-173PyPIpip<19.219.2

References

Check your stackJSON