CVE-2013-1629
published 2013-08-06CVE-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 allows…
PriorityP339medium6.8CVSS 2.0
AVNACMAuNCPIPAP
EPSS
6.22%
92.6th percentile
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
4 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | python-pip | < python-pip 1.3.1-1 (bookworm) | python-pip 1.3.1-1 (bookworm) |
| debian | python-virtualenv | < python-pip 1.3.1-1 (bookworm) | python-pip 1.3.1-1 (bookworm) |
| pypa | pip | < 1.3 | 1.3 |
| pypa | pip | >= 0 < 1.3 | 1.3 |
CVSS provenance
nvdv2.06.8MEDIUMAV:N/AC:M/Au:N/C:P/I:P/A:P
osv6.8MEDIUM
vendor_debian6.8LOW
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
Improper Input Validation in pip
ghsa·2022-05-13
CVE-2013-1629 [HIGH] CWE-20 Improper Input Validation in pip
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.
OSV
Improper Input Validation in pip
osv·2022-05-13
CVE-2013-1629 [HIGH] Improper Input Validation in pip
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.
OSV
CVE-2013-1629: pip before 1
osv·2013-08-06·CVSS 6.8
CVE-2013-1629 [MEDIUM] CVE-2013-1629: pip before 1
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.
Debian
CVE-2013-1629: python-pip - pip before 1.3 uses HTTP to retrieve packages from the PyPI repository, and does...
vendor_debian·2013·CVSS 6.8
CVE-2013-1629 [MEDIUM] CVE-2013-1629: python-pip - pip before 1.3 uses HTTP to retrieve packages from the PyPI repository, and does...
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.
Scope: local
bookworm: resolved (fixed in 1.3.1-1)
bullseye: resolved (fixed in 1.3.1-1)
forky: resolved (fixed in 1.3.1-1)
sid: resolved (fixed in 1.3.1-1)
trixie: resolved (fixed in 1.3.1-1)
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2013-1629 python-pip: insecure installation mechanism [fedora-all]
bugzilla·2013-05-28·CVSS 6.8
CVE-2013-1629 [MEDIUM] CVE-2013-1629 python-pip: insecure installation mechanism [fedora-all]
CVE-2013-1629 python-pip: insecure installation mechanism [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of Fedora.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When creating a Bodhi update request, please use the bodhi submission link
noted in the next comment(s). This will include the bug IDs of this
tracking bug as well as the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
Bodhi notes field when available.
Please note: this issue affects mu
Bugzilla
CVE-2013-1629 python-pip: insecure installation mechanism [epel-all]
bugzilla·2013-05-28·CVSS 6.8
CVE-2013-1629 [MEDIUM] CVE-2013-1629 python-pip: insecure installation mechanism [epel-all]
CVE-2013-1629 python-pip: insecure installation mechanism [epel-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of Fedora EPEL.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When creating a Bodhi update request, please use the bodhi submission link
noted in the next comment(s). This will include the bug IDs of this
tracking bug as well as the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
Bodhi notes field when available.
Please note: this issue affects
Bugzilla
CVE-2013-1629 python-pip: insecure installation mechanism
bugzilla·2013-05-28·CVSS 6.8
CVE-2013-1629 [MEDIUM] CVE-2013-1629 python-pip: insecure installation mechanism
CVE-2013-1629 python-pip: insecure installation mechanism
It was reported [1],[2] that pip, a package installer for Python modules, would retrieve code to install in an insecure manner. When pip is used to install a module, that code is retrieved from the internet and then, in the presence of setup.py, is executed. If pip is used as root (e.g. "sudo pip install [module]"), then this code is executed with root permissions. Because pip does not do TLS certificate verification, or package verification, it is trivial for an attacker to perform a MitM attack and cause the user attempting to install a module to execute arbitrary code.
As of version 1.3, pip provides SSL certificate verification over HTTPS [3],[4].
[1] https://github.com/pypa/pip/issues/425
[2] http://www.reddit.com/r/Python/
http://www.pip-installer.org/en/latest/installing.htmlhttp://www.pip-installer.org/en/latest/news.html#changeloghttp://www.reddit.com/r/Python/comments/17rfh7/warning_dont_use_pip_in_an_untrusted_network_a/https://bugzilla.redhat.com/show_bug.cgi?id=968059https://github.com/pypa/pip/issues/425https://github.com/pypa/pip/pull/791/fileshttp://www.pip-installer.org/en/latest/installing.htmlhttp://www.pip-installer.org/en/latest/news.html#changeloghttp://www.reddit.com/r/Python/comments/17rfh7/warning_dont_use_pip_in_an_untrusted_network_a/https://bugzilla.redhat.com/show_bug.cgi?id=968059https://github.com/pypa/pip/issues/425https://github.com/pypa/pip/pull/791/files
2013-08-06
Published