{"id":"CVE-2013-1629","aliases":["DEBIAN-CVE-2013-1629","EUVD-2013-0025","GHSA-g3p5-fjj9-h8gj","PYSEC-2013-8","UBUNTU-CVE-2013-1629"],"status":"published","title":"Improper Input Validation in pip","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.","severity":{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.06194,"percentile":0.9355,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-20"],"published":"2013-08-06T01:00:00Z","modified":"2026-09-01T20:03:14Z","fixes":[{"ecosystem":"PyPI","package":"pip","fixed_in":["1.3"],"sources":["ghsa","osv"]},{"ecosystem":"Debian:12","package":"python-pip","fixed_in":["1.3.1-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"python-pip","fixed_in":["1.3.1-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"python-pip","fixed_in":["1.3.1-1"],"sources":["osv"]},{"ecosystem":"Debian:12","package":"python-virtualenv","fixed_in":["1.9.1-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"python-virtualenv","fixed_in":["1.9.1-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"python-virtualenv","fixed_in":["1.9.1-1"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"PyPI","package":"pip","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"python-pip","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.1-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"python-pip","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.1-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"python-pip","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.1-1"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"python-virtualenv","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.9.1-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"python-virtualenv","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.9.1-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"python-virtualenv","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.9.1-1"}]}]},{"source":"osv","ecosystem":"PyPI","package":"pip","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3"}]}],"versions":["0.2","0.2.1","0.3","0.3.1","0.4","0.5","0.5.1","0.6","0.6.1","0.6.2","0.6.3","0.7","0.7.1","0.7.2","0.8","0.8.1","0.8.2","0.8.3","1.0","1.0.1","1.0.2","1.1","1.2","1.2.1"]},{"source":"osv","ecosystem":"PyPI","package":"pip","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3"}]}],"versions":["0.2","0.2.1","0.3","0.3.1","0.4","0.5","0.5.1","0.6","0.6.1","0.6.2","0.6.3","0.7","0.7.1","0.7.2","0.8","0.8.1","0.8.2","0.8.3","1.0","1.0.1","1.0.2","1.1","1.2","1.2.1"]}],"products":[{"vendor":"pypa","product":"pip"}],"references":[{"url":"http://www.pip-installer.org/en/latest/installing.html","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","advisory","web"]},{"url":"https://github.com/pypa/pip/issues/425","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","advisory","web","report"]},{"url":"http://www.pip-installer.org/en/latest/news.html#changelog","tags":["x_refsource_CONFIRM","x_transferred","Release Notes","Vendor Advisory","advisory","web"]},{"url":"https://github.com/pypa/pip/pull/791/files","tags":["x_refsource_CONFIRM","x_transferred","Patch","Third Party Advisory","advisory","fix","web"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=968059","tags":["x_refsource_CONFIRM","x_transferred","Issue Tracking","Third Party Advisory","advisory","report","web"]},{"url":"http://www.reddit.com/r/Python/comments/17rfh7/warning_dont_use_pip_in_an_untrusted_network_a/","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","advisory","evidence","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2013-1629","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-g3p5-fjj9-h8gj","tags":["advisory"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/pip/PYSEC-2013-8.yaml","tags":["web"]},{"url":"http://www.reddit.com/r/Python/comments/17rfh7/warning_dont_use_pip_in_an_untrusted_network_a","tags":["web"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2013-1629","tags":["advisory"]},{"url":"https://github.com/pypa/pip","tags":["package"]},{"url":"https://ubuntu.com/security/CVE-2013-1629","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2013-1629","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2013-1629","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.","status":"published","published":"2013-08-06T01:00:00Z","modified":"2024-09-16T19:25:45.478Z","updated_at":"2026-11-02T14:34:58.534075Z"}],"euvd":[{"id":"EUVD-2013-0025","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.","status":"published","published":"2013-08-06T01:00:00Z","modified":"2024-09-16T19:25:45Z","updated_at":"2026-11-03T00:55:22.776544Z"}],"ghsa":[{"id":"GHSA-g3p5-fjj9-h8gj","title":"Improper Input Validation in pip","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.","status":"published","published":"2022-05-13T01:11:25Z","modified":"2024-10-09T21:28:18Z","cvss":[{"version":"4.0","score":7.3,"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","level":"high"},{"version":"3.1","score":8.4,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:38:09.785133Z"}],"nvd":[{"id":"CVE-2013-1629","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.","status":"published","published":"2013-08-06T02:52:10.177Z","modified":"2026-06-16T23:51:48.25Z","cvss":[{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:02:31.592595Z"}],"osv":[{"id":"GHSA-g3p5-fjj9-h8gj","title":"Improper Input Validation in pip","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.","status":"published","published":"2022-05-13T01:11:25Z","modified":"2024-10-09T21:37:11.504647Z","cvss":[{"version":"3.1","score":8.4,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high"},{"version":"4.0","score":7.3,"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","level":"high"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T15:46:47.119724Z"},{"id":"CVE-2013-1629","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.","status":"published","published":"2013-08-06T02:52:10Z","modified":"2026-04-10T03:42:42.302737Z","updated_at":"2026-11-02T15:43:58.802805Z"},{"id":"DEBIAN-CVE-2013-1629","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.","status":"published","published":"2013-08-06T02:52:10.177Z","modified":"2026-09-01T20:03:14.943798196Z","updated_at":"2026-11-02T15:45:25.218101Z"},{"id":"PYSEC-2013-8","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.","status":"published","published":"2013-08-06T02:52:00Z","modified":"2023-11-08T03:57:14.405621Z","updated_at":"2026-11-02T15:52:51.645172Z"},{"id":"UBUNTU-CVE-2013-1629","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.","status":"withdrawn","published":"2013-08-06T02:52:00Z","modified":"2025-07-16T07:31:11.333633Z","updated_at":"2026-11-02T15:54:06.854805Z"}]}}
