All vulnerabilities

CVE-2019-20916

Path Traversal in pip

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.

Patch Available

Fix available through Seal Security. 

No upgrade required, protect your application instantly.

Fix without upgrading
Score
Severity
Ecosystem
Python
Publish Date
September 4, 2020
Modified Date
November 7, 2023
Score Vector
Affected Versions