CVEvulnerability
CVE-2019-20916
7.5 HIGH
Official page ↗
- Status
- Modified
- Published
- 2020-09-04
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 7.5 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- CVSS 2.0 ([email protected])
- 5.0 MEDIUM — AV:N/AC:L/Au:N/C:N/I:P/A:N
- Weaknesses
- CWE-22
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.
Affected configurations
• 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
Related
Weakness · CWE (1)
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness
References
- 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
- 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