pypa/pip · Security
Improper Input Validation in pip
- GHSA ID
- GHSA-g3p5-fjj9-h8gj
- CVE ID
- CVE-2013-1629
- Severity
- high
- Published
- Updated
- CVSS
- 8.4 · CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS v3
- 8.4 · CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS v4
- 7.3 · 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
Description
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.
CWEs
- CWE-20 · Improper Input Validation
References
- https://nvd.nist.gov/vuln/detail/CVE-2013-1629 ↗
- https://github.com/pypa/pip/issues/425 ↗
- https://github.com/pypa/pip/pull/791/files ↗
- https://bugzilla.redhat.com/show_bug.cgi?id=968059 ↗
- http://www.pip-installer.org/en/latest/installing.html ↗
- http://www.pip-installer.org/en/latest/news.html#changelog ↗
- https://github.com/advisories/GHSA-g3p5-fjj9-h8gj ↗
- https://github.com/pypa/advisory-database/tree/main/vulns/pip/PYSEC-2013-8.yaml ↗
- http://www.reddit.com/r/Python/comments/17rfh7/warning_dont_use_pip_in_an_untrusted_network_a ↗