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.
References
Configurations
Configuration 1 (hide)
|
Configuration 2 (hide)
|
Configuration 3 (hide)
|
Configuration 4 (hide)
|
History
No history.
Information
Published : 2020-09-04 20:15
Updated : 2024-11-21 04:39
NVD link : CVE-2019-20916
Mitre link : CVE-2019-20916
CVE.ORG link : CVE-2019-20916
JSON object : View
Products Affected
oracle
- communications_cloud_native_core_network_function_cloud_native_environment
- communications_cloud_native_core_policy
debian
- debian_linux
pypa
- pip
opensuse
- leap
CWE
CWE-22
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')