CVE-2013-1633: Setuptools Setuptools Vulnerable To Man-in-the-middle Attacks Vulnerability
HIGHCVE-2013-1633 is a HIGH (CVSS 8.3) setuptools vulnerable to man-in-the-middle attacks vulnerability (CWE-319: Cleartext Transmission of Sensitive Information) affecting Setuptools libraries in the PyPI ecosystem. The issue involves setuptools vulnerable to man-in-the-middle attacks. Remediation is available by upgrading affected packages to version 0.7.
CVE-2013-1633 at a Glance
Security Impact
CVSS: 8.3
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H).
How to Fix CVE-2013-1633
To remediate this vulnerability, upgrade all affected Setuptools dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install setuptools>=0.7
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show setuptools
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2013-1633, inspect your installed packages using pip:
pip show setuptools
Analyze the terminal output to locate any version of Setuptools in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.7), your application is affected.
Note: The pip show setuptools command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-319: Cleartext Transmission of Sensitive Information, where the product transmits sensitive or security-critical data in cleartext in a communication channel that can be sniffed by unauthorized actors. In Setuptools, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2013-1633 Affected Setuptools Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
setuptools
|
PyPI |
< 0.7
|
0.7
|
References
Frequently Asked Questions
What is CVE-2013-1633?
Which Setuptools versions are affected?
What version fixes CVE-2013-1633?
Is setuptools affected?
What is the CVSS score of CVE-2013-1633?
What CWE is associated with CVE-2013-1633?
How can I check PyPI dependencies for CVE-2013-1633?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-27x4-j476-jp5f",
"modified" : "2024-10-22T16:40:50Z",
"published" : "2022-05-17T05:01:02Z",
"aliases" : [ "CVE-2013-1633" ],
"summary" : "Setuptools vulnerable to Man-in-the-middle attacks",
"details" : "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.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "setuptools"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.7"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2013-1633"
}, {
"type" : "WEB",
"url" : "https://github.com/pypa/advisory-database/tree/main/vulns/setuptools/PYSEC-2013-22.yaml"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/pypa/setuptools"
}, {
"type" : "WEB",
"url" : "https://pypi.python.org/pypi/setuptools/0.9.8#changes"
}, {
"type" : "WEB",
"url" : "http://www.reddit.com/r/Python/comments/17rfh7/warning_dont_use_pip_in_an_untrusted_network_a"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-319" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2023-08-29T18:46:57Z",
"nvd_published_at" : "2013-08-06T02:52:00Z"
}
}