PYSEC-2020-173

En bref

Publiée
Mise à jour
CVE
CVE-2019-20916
Alias
GHSA-gpvv-69j7-gwj8

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.

Paquets affectés

PaquetVersions
PyPI · pipintroduced 0, fixed a4c735b14a62f9cb864533808ac63936704f2ace ; introduced 0, fixed 19.2

Références

Sources

SourceLicence
OSV.devCC-BY 4.0 — PyPA Advisory Database