{"id":"CVE-2019-20916","state":"PUBLISHED","title":"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 dem","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.","publishedAt":"2020-09-04T19:20:55.000Z","updatedAt":"2024-08-05T03:00:17.373Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["https://github.com/pypa/pip/issues/6413","https://github.com/gzpan123/pip/commit/a4c735b14a62f9cb864533808ac63936704f2ace","https://github.com/pypa/pip/compare/19.1.1...19.2","https://lists.debian.org/debian-lts-announce/2020/09/msg00010.html","http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00005.html","http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00010.html","https://www.oracle.com/security-alerts/cpuapr2022.html","https://www.oracle.com/security-alerts/cpujul2022.html"],"weaknesses":[],"ingestedAt":"2026-10-29T19:45:50.141Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2019/20xxx/CVE-2019-20916.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2019-20916","state":"PUBLISHED","datePublished":"2020-09-04T19:20:55.000Z","dateUpdated":"2024-08-05T03:00:17.373Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2020-09-04T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"https://github.com/pypa/pip/issues/6413","tags":["x_refsource_MISC"]},{"url":"https://github.com/gzpan123/pip/commit/a4c735b14a62f9cb864533808ac63936704f2ace","tags":["x_refsource_MISC"]},{"url":"https://github.com/pypa/pip/compare/19.1.1...19.2","tags":["x_refsource_MISC"]},{"url":"https://lists.debian.org/debian-lts-announce/2020/09/msg00010.html","name":"[debian-lts-announce] 20200911 [SECURITY] [DLA 2370-1] python-pip security update","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00005.html","name":"openSUSE-SU-2020:1598","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00010.html","name":"openSUSE-SU-2020:1613","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"https://www.oracle.com/security-alerts/cpuapr2022.html","tags":["x_refsource_MISC"]},{"url":"https://www.oracle.com/security-alerts/cpujul2022.html","tags":["x_refsource_MISC"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mitre","dateUpdated":"2022-07-25T16:12:52.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2019-20916","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"https://github.com/pypa/pip/issues/6413","refsource":"MISC","url":"https://github.com/pypa/pip/issues/6413"},{"name":"https://github.com/gzpan123/pip/commit/a4c735b14a62f9cb864533808ac63936704f2ace","refsource":"MISC","url":"https://github.com/gzpan123/pip/commit/a4c735b14a62f9cb864533808ac63936704f2ace"},{"name":"https://github.com/pypa/pip/compare/19.1.1...19.2","refsource":"MISC","url":"https://github.com/pypa/pip/compare/19.1.1...19.2"},{"name":"[debian-lts-announce] 20200911 [SECURITY] [DLA 2370-1] python-pip security update","refsource":"MLIST","url":"https://lists.debian.org/debian-lts-announce/2020/09/msg00010.html"},{"name":"openSUSE-SU-2020:1598","refsource":"SUSE","url":"http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00005.html"},{"name":"openSUSE-SU-2020:1613","refsource":"SUSE","url":"http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00010.html"},{"name":"https://www.oracle.com/security-alerts/cpuapr2022.html","refsource":"MISC","url":"https://www.oracle.com/security-alerts/cpuapr2022.html"},{"name":"https://www.oracle.com/security-alerts/cpujul2022.html","refsource":"MISC","url":"https://www.oracle.com/security-alerts/cpujul2022.html"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/pypa/pip/issues/6413","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/gzpan123/pip/commit/a4c735b14a62f9cb864533808ac63936704f2ace","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/pypa/pip/compare/19.1.1...19.2","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2020/09/msg00010.html","name":"[debian-lts-announce] 20200911 [SECURITY] [DLA 2370-1] python-pip security update","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00005.html","name":"openSUSE-SU-2020:1598","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00010.html","name":"openSUSE-SU-2020:1613","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]},{"url":"https://www.oracle.com/security-alerts/cpuapr2022.html","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://www.oracle.com/security-alerts/cpujul2022.html","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-05T03:00:17.373Z"}}]}}}