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 |
History
No history.
MITRE Information
Status: PUBLISHED
Assigner: mitre
Published: 2020-09-04T19:20:55
Updated: 2022-07-25T16:12:52
Reserved: 2020-09-04T00:00:00
Link: CVE-2019-20916
JSON object: View
NVD Information
Status : Analyzed
Published: 2020-09-04T20:15:11.013
Modified: 2024-02-08T02:04:51.530
Link: CVE-2019-20916
JSON object: View
Redhat Information
No data.
CWE