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
Link | Resource |
---|---|
http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00005.html | Mailing List Third Party Advisory |
http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00010.html | Mailing List Third Party Advisory |
https://github.com/gzpan123/pip/commit/a4c735b14a62f9cb864533808ac63936704f2ace | Patch |
https://github.com/pypa/pip/compare/19.1.1...19.2 | Patch |
https://github.com/pypa/pip/issues/6413 | Exploit Patch |
https://lists.debian.org/debian-lts-announce/2020/09/msg00010.html | Mailing List Third Party Advisory |
https://www.oracle.com/security-alerts/cpuapr2022.html | Patch Third Party Advisory |
https://www.oracle.com/security-alerts/cpujul2022.html | Patch Third Party Advisory |
Configurations
Configuration 1 (hide)
|
Configuration 2 (hide)
|
Configuration 3 (hide)
|
Configuration 4 (hide)
|
History
08 Feb 2024, 02:04
Type | Values Removed | Values Added |
---|---|---|
References | (N/A) https://www.oracle.com/security-alerts/cpujul2022.html - Patch, Third Party Advisory | |
CPE | cpe:2.3:a:oracle:communications_cloud_native_core_network_function_cloud_native_environment:22.1.0:*:*:*:*:*:*:* |
Information
Published : 2020-09-04 20:15
Updated : 2024-02-28 17:47
NVD link : CVE-2019-20916
Mitre link : CVE-2019-20916
CVE.ORG link : CVE-2019-20916
JSON object : View
Products Affected
debian
- debian_linux
pypa
- pip
oracle
- communications_cloud_native_core_network_function_cloud_native_environment
- communications_cloud_native_core_policy
opensuse
- leap
CWE
CWE-22
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')