Lucene search

K
osvGoogleOSV:PYSEC-2020-173
HistorySep 04, 2020 - 8:15 p.m.

PYSEC-2020-173

2020-09-0420:15:00
Google
osv.dev
41
pip package
directory traversal
install command
content-disposition header
overwriting files
download.py

EPSS

0.004

Percentile

73.8%

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.