CVE-2019-20916
HIGH EPSS 85.8%
Published Sep 4, 20205y ago · Modified Jun 17, 20262w ago
7.5 CVSS 3.1
Published Sep 4, 2020 5y ago
Last Modified Jun 17, 2026 2w ago
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.
CVSS Details
Base Score
Exploitability
Impact
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N Attack Vector Network
Attack Complexity Low
Privileges Required None
User Interaction None
Scope Unchanged
Confidentiality None
Integrity High
Availability None
Threat Intelligence
EPSS Exploit Probability
85.8% percentile
Exploit & Patch Status
Public Exploit Known
Patch Available
Weaknesses 1
CWE-22 Path Traversal Resource Mgmt
Affected Products 7
| Vendor | Product | Version | Range |
|---|---|---|---|
| pypa | pip | * | <19.2 |
| opensuse | leap | 15.1 | any |
| opensuse | leap | 15.2 | any |
| debian | debian_linux | 9.0 | any |
| oracle | communications_cloud_native_core_network_function_cloud_native_environment | 1.10.0 | any |
| oracle | communications_cloud_native_core_network_function_cloud_native_environment | 22.1.0 | any |
| oracle | communications_cloud_native_core_policy | 1.15.0 | any |
References 8
- lists.opensuse.org http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00005.html
- lists.opensuse.org http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00010.html
- github.com https://github.com/gzpan123/pip/commit/a4c735b14a62f9cb864533808ac63936704f2ace
- github.com https://github.com/pypa/pip/compare/19.1.1...19.2
- github.com https://github.com/pypa/pip/issues/6413
- lists.debian.org https://lists.debian.org/debian-lts-announce/2020/09/msg00010.html
- oracle.com https://www.oracle.com/security-alerts/cpuapr2022.html
- oracle.com https://www.oracle.com/security-alerts/cpujul2022.html
Remediation
- github.com https://github.com/gzpan123/pip/commit/a4c735b14a62f9cb864533808ac63936704f2ace
- github.com https://github.com/pypa/pip/compare/19.1.1...19.2
- github.com https://github.com/pypa/pip/issues/6413
- oracle.com https://www.oracle.com/security-alerts/cpuapr2022.html
- oracle.com https://www.oracle.com/security-alerts/cpujul2022.html