CVE-2019-20916
Last modified
CVE-2019-20916 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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.. EPSS estimates a 3.00% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Pypa | Pip | < 19.2 |
| Opensuse | Leap | 15.1 |
| Opensuse | Leap | 15.2 |
| Debian | Debian Linux | 9.0 |
| Oracle | Communications Cloud Native Core Network Function Cloud Native Environment | 1.10.0 |
| Oracle | Communications Cloud Native Core Network Function Cloud Native Environment | 22.1.0 |
| Oracle | Communications Cloud Native Core Policy | 1.15.0 |
References
- http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00005.htmlMailing List, Third Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00010.htmlMailing List, Third Party Advisory
- https://github.com/pypa/pip/issues/6413Exploit, Patch
- https://lists.debian.org/debian-lts-announce/2020/09/msg00010.htmlMailing List, Third Party Advisory
- https://www.oracle.com/security-alerts/cpuapr2022.htmlPatch, Third Party Advisory
- https://www.oracle.com/security-alerts/cpujul2022.htmlPatch, Third Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00005.htmlMailing List, Third Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00010.htmlMailing List, Third Party Advisory
- https://github.com/pypa/pip/issues/6413Exploit, Patch
- https://lists.debian.org/debian-lts-announce/2020/09/msg00010.htmlMailing List, Third Party Advisory
- https://www.oracle.com/security-alerts/cpuapr2022.htmlPatch, Third Party Advisory
- https://www.oracle.com/security-alerts/cpujul2022.htmlPatch, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2019-20916?
How severe is CVE-2019-20916?
How do I fix CVE-2019-20916?
Are you affected by CVE-2019-20916?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
