CVE-2013-1633Python Setuptools
Medium 6.8 No auth needed
Follow: this CVE · Python · Python Setuptools We alert you by email or Slack (account required).
- Priority
- 56
- CVSS 2.0
- 6.8
- EPSS
- 2.0% probability of exploitation in 30 days · percentile 81
- Auth required
- No
- Published
- Aug 6, 2013
- Updated
- Jun 16, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-20
- Vector
AV:N/AC:M/Au:N/C:P/I:P/A:P
What happens
easy_install in setuptools before 0.7 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 the default use of the product.
What to do
- Apply the vendor's security update for Setuptools.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | setuptools |
< 0.7 |
0.7 |
pip install "setuptools>=0.7" |
| PyPI | setuptools |
< 0.7 |
0.7 |
pip install "setuptools>=0.7" |
Per OSV / GitHub Advisories (GHSA-27x4-j476-jp5f, PYSEC-2013-22). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| python | setuptools | ≤ 0.7b4 |
| python | setuptools | 0.6.40 |
| python | setuptools | 0.6.41 |
| python | setuptools | 0.6.42 |
| python | setuptools | 0.6.43 |
| python | setuptools | 0.6.44 |
| python | setuptools | 0.6.45 |
| python | setuptools | 0.6.46 |
| python | setuptools | 0.6.47 |
| python | setuptools | 0.6.48 |
| python | setuptools | 0.6.49 |
Official sources
References
Links published by the sources. Open them with care.
- www.reddit.com
- pypi.python.org Vendor Advisory