{"id":"GHSA-g3p5-fjj9-h8gj","summary":"Improper Input Validation in pip","details":"pip before 1.3 uses HTTP to retrieve packages from the PyPI repository, and does not perform integrity checks on package contents, which allows man-in-the-middle attackers to execute arbitrary code via a crafted response to a \"pip install\" operation.","aliases":["CVE-2013-1629","PYSEC-2013-8"],"modified":"2024-10-09T21:37:11.504647Z","published":"2022-05-13T01:11:25Z","database_specific":{"github_reviewed_at":"2022-07-08T19:00:03Z","nvd_published_at":"2013-08-06T02:52:00Z","cwe_ids":["CWE-20"],"severity":"HIGH","github_reviewed":true},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2013-1629"},{"type":"WEB","url":"https://github.com/pypa/pip/issues/425"},{"type":"WEB","url":"https://github.com/pypa/pip/pull/791/files"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=968059"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-g3p5-fjj9-h8gj"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/pip/PYSEC-2013-8.yaml"},{"type":"PACKAGE","url":"https://github.com/pypa/pip"},{"type":"WEB","url":"http://www.pip-installer.org/en/latest/installing.html"},{"type":"WEB","url":"http://www.pip-installer.org/en/latest/news.html#changelog"},{"type":"WEB","url":"http://www.reddit.com/r/Python/comments/17rfh7/warning_dont_use_pip_in_an_untrusted_network_a"}],"affected":[{"package":{"name":"pip","ecosystem":"PyPI","purl":"pkg:pypi/pip"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3"}]}],"versions":["0.2","0.2.1","0.3","0.3.1","0.4","0.5","0.5.1","0.6","0.6.1","0.6.2","0.6.3","0.7","0.7.1","0.7.2","0.8","0.8.1","0.8.2","0.8.3","1.0","1.0.1","1.0.2","1.1","1.2","1.2.1"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-g3p5-fjj9-h8gj/GHSA-g3p5-fjj9-h8gj.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P"}]}