CVE-2013-1629
pip PyPI Man-in-the-Middle Code Execution
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.
INFO
Published Date :
Aug. 6, 2013, 2:52 a.m.
Last Modified :
April 11, 2025, 12:51 a.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source | 
|---|---|---|---|---|---|---|
| CVSS 2.0 | MEDIUM | [email protected] | 
Solution
- All pip users should upgrade to the latest version: # emerge --sync # emerge --ask --oneshot --verbose '>=dev-python/pip-1.3.1'
Public PoC/Exploit Available at Github
                                            CVE-2013-1629 has a 6 public
                                            PoC/Exploit available at Github.
                                            Go to the Public Exploits tab to see the list.
                                        
References to Advisories, Solutions, and Tools
                                            Here, you will find a curated list of external links that provide in-depth
                                            information, practical solutions, and valuable tools related to
                                            CVE-2013-1629.
                                        
CWE - Common Weakness Enumeration
            While CVE identifies
            specific instances of vulnerabilities, CWE categorizes the common flaws or
            weaknesses that can lead to vulnerabilities. CVE-2013-1629 is
            associated with the following CWEs:
        
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
            (CAPEC)
            stores attack patterns, which are descriptions of the common attributes and
            approaches employed by adversaries to exploit the CVE-2013-1629
            weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
None
A curated collection of Proof of Concept (PoC) tools, scripts, and techniques designed for red team operations, penetration testing, and cybersecurity research. This repository focuses on providing practical resources for exploring vulnerabilities
attack cybersecurity exp hw penetration-testing poc red-team security-tools vulnerability-poc
这是一个每天同步Vulnerability-Wiki中docs-base中内容的项目
HTML
None
CSS HTML JavaScript
A Common Vulnerability PoC Knowledge Base一个普遍漏洞POC知识库
vulnerability
一个漏洞 PoC 知识库。A knowledge base for vulnerability PoCs(Proof of Concept), with 1k+ vulnerabilities.
poc
Dockerfile
Results are limited to the first 15 repositories due to potential performance issues.
			The following list is the news that have been mention
			CVE-2013-1629 vulnerability anywhere in the article.
		
                The following table lists the changes that have been made to the
                CVE-2013-1629 vulnerability over time.
            
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
- 
                            CVE Modified by af854a3a-2127-422b-91ae-364da2661108Nov. 21, 2024 Action Type Old Value New Value Added Reference http://www.pip-installer.org/en/latest/installing.html Added Reference http://www.pip-installer.org/en/latest/news.html#changelog Added Reference http://www.reddit.com/r/Python/comments/17rfh7/warning_dont_use_pip_in_an_untrusted_network_a/ Added Reference https://bugzilla.redhat.com/show_bug.cgi?id=968059 Added Reference https://github.com/pypa/pip/issues/425 Added Reference https://github.com/pypa/pip/pull/791/files 
- 
                            CVE Modified by [email protected]May. 14, 2024 Action Type Old Value New Value 
- 
                            Reanalysis by [email protected]Mar. 15, 2021 Action Type Old Value New Value Removed CVSS V2 Metadata Victim must voluntarily interact with attack mechanism Changed Reference Type http://www.pip-installer.org/en/latest/installing.html No Types Assigned http://www.pip-installer.org/en/latest/installing.html Vendor Advisory Changed Reference Type http://www.pip-installer.org/en/latest/news.html#changelog No Types Assigned http://www.pip-installer.org/en/latest/news.html#changelog Release Notes, Vendor Advisory Changed Reference Type http://www.reddit.com/r/Python/comments/17rfh7/warning_dont_use_pip_in_an_untrusted_network_a/ No Types Assigned http://www.reddit.com/r/Python/comments/17rfh7/warning_dont_use_pip_in_an_untrusted_network_a/ Exploit, Third Party Advisory Changed Reference Type https://bugzilla.redhat.com/show_bug.cgi?id=968059 No Types Assigned https://bugzilla.redhat.com/show_bug.cgi?id=968059 Issue Tracking, Third Party Advisory Changed Reference Type https://github.com/pypa/pip/issues/425 No Types Assigned https://github.com/pypa/pip/issues/425 Third Party Advisory Changed Reference Type https://github.com/pypa/pip/pull/791/files No Types Assigned https://github.com/pypa/pip/pull/791/files Patch, Third Party Advisory Changed CPE Configuration OR *cpe:2.3:a:pip-installer:pip:1.0:*:*:*:*:*:*:* *cpe:2.3:a:pip-installer:pip:1.0.1:*:*:*:*:*:*:* *cpe:2.3:a:pip-installer:pip:1.0.2:*:*:*:*:*:*:* *cpe:2.3:a:pip-installer:pip:1.1:*:*:*:*:*:*:* *cpe:2.3:a:pip-installer:pip:1.2:*:*:*:*:*:*:* *cpe:2.3:a:pip-installer:pip:*:*:*:*:*:*:*:* versions up to (including) 1.2.1 OR *cpe:2.3:a:pypa:pip:*:*:*:*:*:*:*:* versions up to (excluding) 1.3 
- 
                            Initial Analysis by [email protected]Aug. 05, 2013 Action Type Old Value New Value 
Vulnerability Scoring Details
Base CVSS Score: 6.8
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
39.92 }} -17.41%
score
0.97033
percentile
 
                         
                         
                         
                                             
                                            