{"schemaVersion":3,"id":"CVE-2013-1629","aliases":["GHSA-g3p5-fjj9-h8gj","PYSEC-2013-8","UBUNTU-CVE-2013-1629","DEBIAN-CVE-2013-1629"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2013-08-06T01:00:00.000Z","modified":"2024-09-16T19:25:45.478Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6.8,"severity":"medium","version":"2.0","versionLabel":"v2.0","source":"NVD","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","computed":false,"selection":"backend-summary"},"metrics":[{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":6.8,"severity":"medium","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Pypi","score":8.6,"severity":"high","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Pypi","score":8.4,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":6.4,"impact":9.8,"computed":true}]},"epss":{"probability":0.06194,"percentile":0.93433,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":-0.023000000000000104,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.06217},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.06217,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.06217,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.06217,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.06217,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.06217,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.06217,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.06217,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.06217,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.06217,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.06217,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.06217,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.06217,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.06217,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.06217,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.06217,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.06217,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.06194,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.06194,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.06194,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.06194,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.06194,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.06194,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.06194,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.06194,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.06194,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.06194,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.06194,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.06194,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.06194,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.06194,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.06194,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.06194,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.06194,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.06194,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.06194,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.06194,"percentile":0.93433}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.06217,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.06217,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.06217,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.06217,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.06217,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.06217,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.06217,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.06217,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.06217,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.06217,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.06217,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.06194,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.06194,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.06194,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.06194,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.06194,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.06194,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.06194,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.06194,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.06194,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.06194,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.06194,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.06194,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.06194,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.06194,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.06194,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.06194,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.06194,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.06194,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.06194,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.06194,"percentile":0.93433}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_BF8A0308B359573E","name":"Exploit Reference (reddit.com)","source":"reference","url":"http://www.reddit.com/r/Python/comments/17rfh7/warning_dont_use_pip_in_an_untrusted_network_a/","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-20","name":"Improper Input Validation","description":"The product receives input or data, but it does\n        not validate or incorrectly validates that the input has the\n        properties that are required to process the data safely and\n        correctly.","type":"weakness","status":"Stable","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/20.html"}],"affected":[{"vendor":"debian","product":"python-pip","name":"python-pip","label":"python-pip","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/python-pip","purlType":"deb","versions":[{"text":"< 1.3.1-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.3.1-1","eol":null,"hubHref":null},{"vendor":"debian","product":"python-virtualenv","name":"python-virtualenv","label":"python-virtualenv","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/python-virtualenv","purlType":"deb","versions":[{"text":"< 1.9.1-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.9.1-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"python-pip","name":"python-pip","label":"python-pip","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/python-pip","purlType":"deb","versions":[{"text":"< 1.5.4-1ubuntu4","noFixRecorded":false,"fixedIn":null},{"text":"< 8.1.1-2ubuntu0.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.5.4-1ubuntu4 | < 8.1.1-2ubuntu0.4","eol":null,"hubHref":null},{"vendor":"pypa","product":"pip","name":"pip","label":"pip","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 1.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.3","eol":null,"hubHref":"/vendor/pypa/pip"},{"vendor":"PyPI","product":"pip","name":"pip","label":"pip","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/pip","purlType":"pypi","versions":[{"text":"< 1.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.3","eol":null,"hubHref":null}],"affectedCount":5,"eol":{"hasEol":false,"count":0},"references":[{"url":"http://www.pip-installer.org/en/latest/installing.html","label":"www.pip-installer.org/en/latest/installing.html","hostname":"www.pip-installer.org","tags":["X Refsource CONFIRM","Vendor Advisory","WEB"]},{"url":"https://github.com/pypa/pip/issues/425","label":"github.com/pypa/pip/issues/425","hostname":"github.com","tags":["X Refsource CONFIRM","Third Party Advisory","WEB","REPORT"]},{"url":"http://www.pip-installer.org/en/latest/news.html#changelog","label":"www.pip-installer.org/en/latest/news.html","hostname":"www.pip-installer.org","tags":["X Refsource CONFIRM","Release Notes","Vendor Advisory","WEB"]},{"url":"https://github.com/pypa/pip/pull/791/files","label":"github.com/pypa/pip/pull/791/files","hostname":"github.com","tags":["X Refsource CONFIRM","Patch","Third Party Advisory","WEB"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=968059","label":"bugzilla.redhat.com/show_bug.cgi?id=968059","hostname":"bugzilla.redhat.com","tags":["X Refsource CONFIRM","Issue Tracking","Third Party Advisory","WEB","REPORT"]},{"url":"http://www.reddit.com/r/Python/comments/17rfh7/warning_dont_use_pip_in_an_untrusted_network_a/","label":"www.reddit.com/r/Python/comments/17rfh7/warning_dont_use_pip_in_an_untrusted_network_a/","hostname":"www.reddit.com","tags":["X Refsource MISC","Exploit","Third Party Advisory","WEB"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2013-1629","label":"nvd.nist.gov/vuln/detail/CVE-2013-1629","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/advisories/GHSA-g3p5-fjj9-h8gj","label":"github.com/advisories/GHSA-g3p5-fjj9-h8gj","hostname":"github.com","tags":["Advisory"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/pip/PYSEC-2013-8.yaml","label":"github.com/pypa/advisory-database/tree/main/vulns/pip/PYSEC-2013-8.yaml","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/pypa/pip","label":"github.com/pypa/pip","hostname":"github.com","tags":["PACKAGE"]},{"url":"http://www.reddit.com/r/Python/comments/17rfh7/warning_dont_use_pip_in_an_untrusted_network_a","label":"www.reddit.com/r/Python/comments/17rfh7/warning_dont_use_pip_in_an_untrusted_network_a","hostname":"www.reddit.com","tags":["WEB"]},{"url":"https://ubuntu.com/security/CVE-2013-1629","label":"ubuntu.com/security/CVE-2013-1629","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2013-1629","label":"www.cve.org/CVERecord?id=CVE-2013-1629","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2013-1629","label":"security-tracker.debian.org/tracker/CVE-2013-1629","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2013-08-06T01:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-09-16T19:25:45.478Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":38,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T19:45:22.310Z","stale":false,"partial":false}}