Improper Input Validation in pip
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.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | pip | < 1.3 | 1.3 |
References
- https://github.com/pypa/pip/issues/425
- https://github.com/pypa/pip/pull/791/files
- http://www.pip-installer.org/en/latest/installing.html
- http://www.pip-installer.org/en/latest/news.html#changelog
- http://www.reddit.com/r/Python/comments/17rfh7/warning_dont_use_pip_in_an_untrusted_network_a/
- https://bugzilla.redhat.com/show_bug.cgi?id=968059
- https://github.com/advisories/GHSA-g3p5-fjj9-h8gj
- https://nvd.nist.gov/vuln/detail/CVE-2013-1629
- https://github.com/pypa/advisory-database/tree/main/vulns/pip/PYSEC-2013-8.yaml
- https://github.com/pypa/pip
- http://www.reddit.com/r/Python/comments/17rfh7/warning_dont_use_pip_in_an_untrusted_network_a
- CVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H- Weakness (CWE)
CWE-20- Platform
- Python (PyPI)
- Package
pip- Disclosed
- 06.08.2013
- Updated
- 11.10.2026 11:20
Sources and licenses
OSV / GitHub Advisory Database - PYSEC-2013-8 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-g3p5-fjj9-h8gj - CC BY 4.0
Vulnerability history: pip
All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 13
- First → latest
- 08.2013 07.2026
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- High 4
- Medium 8
- Low 1
Disclosures per year
- 2017: 0
- 2018: 0
- 2019: 1
- 2020: 1
- 2021: 1
- 2022: 0
- 2023: 1
- 2024: 0
- 2025: 1
- 2026: 5
earlier: 3
-
Improper Input Validation in pip this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.