{"id":"CVE-2018-20225","aliases":["DEBIAN-CVE-2018-20225","UBUNTU-CVE-2018-20225"],"summary":"An issue was discovered in pip (all versions) because it installs the version with the highest version number, even if the user had intended to obtain a private package from a private index.","published_at":"2020-04-28T00:00:00Z","modified_at":"2026-04-27T09:10:14.082274Z","products":[{"slug":"rhel","name":"Red Hat Enterprise Linux","category":"red-hat"}],"rating":{"severity":"high","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","attack_path":"local","user_interaction":true,"malicious":false,"red_hat":"Low","vendor_ratings":[{"source":"SUSE","rating":"moderate"},{"source":"Ubuntu","rating":"negligible"},{"source":"Red Hat","rating":"Low"}]},"fix_available":false,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.017799999564886093,"percentile":0.7872899770736694,"date":"2026-11-19T00:00:00Z"},"priority":6.8,"details":"An issue was discovered in pip (all versions) because it installs the version with the highest version number, even if the user had intended to obtain a private package from a private index. This only affects use of the --extra-index-url option, and exploitation requires that the package does not already exist in the public index (and thus the attacker can put the package there with an arbitrary version number). NOTE: it has been reported that this is intended functionality and the user is responsible for using --extra-index-url securely","affected_stack":[{"ecosystem":"Red Hat:enterprise_linux:8","package":"platform-python-pip","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2018-20225","relation":"self"},{"ecosystem":"Red Hat:enterprise_linux:8","package":"python-pip","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2018-20225","relation":"self"},{"ecosystem":"Red Hat:enterprise_linux:8","package":"python3-pip","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2018-20225","relation":"self"},{"ecosystem":"Red Hat:enterprise_linux:8","package":"python3-pip-wheel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2018-20225","relation":"self"},{"ecosystem":"Red Hat:quay:3","package":"python27-python-pip","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2018-20225","relation":"self"},{"ecosystem":"Red Hat:rhel_els:7","package":"python-pip","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2018-20225","relation":"self"},{"ecosystem":"Red Hat:rhel_els:7","package":"python3-pip","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2018-20225","relation":"self"},{"ecosystem":"Red Hat:rhel_software_collections:3","package":"python27-python-pip","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2018-20225","relation":"self"},{"ecosystem":"Red Hat:rhel_software_collections:3","package":"rh-python36-python-pip","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2018-20225","relation":"self"}],"affected_other":[{"ecosystem":"Debian:11","package":"python-pip","purl":"pkg:deb/debian/python-pip?arch=source","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["20.3.4-4","20.3.4-4+deb11u1","21.3.1+dfsg-1","21.3.1+dfsg-2","21.3.1+dfsg-3","22.0.2+dfsg-1","22.1+dfsg-1","22.1.1+dfsg-1","22.2+dfsg-1","22.3+dfsg-1","22.3.1+dfsg-1","22.3.1+dfsg-2","23.0+dfsg-1","23.0+dfsg-2","23.0.1+dfsg-1","23.1.2+dfsg-1","23.1.2+dfsg-2","23.2+dfsg-1","23.2.1+dfsg-1","23.3+dfsg-1","24.0+dfsg-1","24.0+dfsg-2","24.1+dfsg-1","24.1.1+dfsg-1","24.2+dfsg-1","24.3.1+dfsg-1","25.0+dfsg-1","25.0.1+dfsg-1","25.1+dfsg-1","25.1.1+dfsg-1","25.2+dfsg-1"],"provider":"osv","source":"DEBIAN-CVE-2018-20225","relation":"self"},{"ecosystem":"Debian:12","package":"python-pip","purl":"pkg:deb/debian/python-pip?arch=source","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["23.0.1+dfsg-1","23.1.2+dfsg-1","23.1.2+dfsg-2","23.2+dfsg-1","23.2.1+dfsg-1","23.3+dfsg-1","24.0+dfsg-1","24.0+dfsg-2","24.1+dfsg-1","24.1.1+dfsg-1","24.2+dfsg-1","24.3.1+dfsg-1","25.0+dfsg-1","25.0.1+dfsg-1","25.1+dfsg-1","25.1.1+dfsg-1","25.2+dfsg-1"],"provider":"osv","source":"DEBIAN-CVE-2018-20225","relation":"self"},{"ecosystem":"Debian:13","package":"python-pip","purl":"pkg:deb/debian/python-pip?arch=source","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["25.1.1+dfsg-1","25.2+dfsg-1"],"provider":"osv","source":"DEBIAN-CVE-2018-20225","relation":"self"},{"ecosystem":"Debian:14","package":"python-pip","purl":"pkg:deb/debian/python-pip?arch=source","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["25.1.1+dfsg-1","25.2+dfsg-1"],"provider":"osv","source":"DEBIAN-CVE-2018-20225","relation":"self"},{"ecosystem":"Ubuntu:Pro:14.04:LTS","package":"python-pip","purl":"pkg:deb/ubuntu/python-pip@1.5.4-1ubuntu4+esm5?arch=source&distro=esm-infra-legacy/trusty","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.4.1-2","1.5.4-1","1.5.4-1ubuntu1","1.5.4-1ubuntu3","1.5.4-1ubuntu4","1.5.4-1ubuntu4+esm1","1.5.4-1ubuntu4+esm2","1.5.4-1ubuntu4+esm3","1.5.4-1ubuntu4+esm4","1.5.4-1ubuntu4+esm5"],"provider":"osv","source":"UBUNTU-CVE-2018-20225","relation":"self"},{"ecosystem":"Ubuntu:Pro:16.04:LTS","package":"python-pip","purl":"pkg:deb/ubuntu/python-pip@8.1.1-2ubuntu0.6+esm12?arch=source&distro=esm-apps/xenial","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.5.6-7ubuntu1","1.5.6-7ubuntu2","8.0.2-7","8.0.3-1","8.0.3-2","8.1.0-1","8.1.0-2","8.1.1-1","8.1.1-2","8.1.1-2ubuntu0.1","8.1.1-2ubuntu0.2","8.1.1-2ubuntu0.4","8.1.1-2ubuntu0.6","8.1.1-2ubuntu0.6+esm2","8.1.1-2ubuntu0.6+esm3","8.1.1-2ubuntu0.6+esm4","8.1.1-2ubuntu0.6+esm5","8.1.1-2ubuntu0.6+esm6","8.1.1-2ubuntu0.6+esm8","8.1.1-2ubuntu0.6+esm10","8.1.1-2ubuntu0.6+esm11","8.1.1-2ubuntu0.6+esm12"],"provider":"osv","source":"UBUNTU-CVE-2018-20225","relation":"self"},{"ecosystem":"Ubuntu:Pro:18.04:LTS","package":"python-pip","purl":"pkg:deb/ubuntu/python-pip@9.0.1-2.3~ubuntu1.18.04.8+esm8?arch=source&distro=esm-apps/bionic","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["9.0.1-2","9.0.1-2.3~ubuntu1","9.0.1-2.3~ubuntu1.18.04.1","9.0.1-2.3~ubuntu1.18.04.2","9.0.1-2.3~ubuntu1.18.04.3","9.0.1-2.3~ubuntu1.18.04.4","9.0.1-2.3~ubuntu1.18.04.5","9.0.1-2.3~ubuntu1.18.04.5+esm2","9.0.1-2.3~ubuntu1.18.04.5+esm3","9.0.1-2.3~ubuntu1.18.04.6","9.0.1-2.3~ubuntu1.18.04.6+esm1","9.0.1-2.3~ubuntu1.18.04.7","9.0.1-2.3~ubuntu1.18.04.7+esm1","9.0.1-2.3~ubuntu1.18.04.8","9.0.1-2.3~ubuntu1.18.04.8+esm1","9.0.1-2.3~ubuntu1.18.04.8+esm2","9.0.1-2.3~ubuntu1.18.04.8+esm4","9.0.1-2.3~ubuntu1.18.04.8+esm6","9.0.1-2.3~ubuntu1.18.04.8+esm7","9.0.1-2.3~ubuntu1.18.04.8+esm8"],"provider":"osv","source":"UBUNTU-CVE-2018-20225","relation":"self"},{"ecosystem":"Ubuntu:Pro:20.04:LTS","package":"python-pip","purl":"pkg:deb/ubuntu/python-pip@20.0.2-5ubuntu1.11+esm4?arch=source&distro=esm-apps/focal","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["18.1-5","18.1-5build1","18.1-5ubuntu1","20.0.2-2","20.0.2-4","20.0.2-5","20.0.2-5ubuntu1","20.0.2-5ubuntu1.1","20.0.2-5ubuntu1.3","20.0.2-5ubuntu1.4","20.0.2-5ubuntu1.5","20.0.2-5ubuntu1.6","20.0.2-5ubuntu1.7","20.0.2-5ubuntu1.8","20.0.2-5ubuntu1.9","20.0.2-5ubuntu1.10","20.0.2-5ubuntu1.10+esm2","20.0.2-5ubuntu1.11","20.0.2-5ubuntu1.11+esm2","20.0.2-5ubuntu1.11+esm3","20.0.2-5ubuntu1.11+esm4"],"provider":"osv","source":"UBUNTU-CVE-2018-20225","relation":"self"}],"product_status":[{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 7","cpe":"cpe:/o:redhat:rhel_els:7","status":"affected","packages":["python-pip","python3-pip"],"package_count":2,"fixed":[],"advisories":[],"note":"Will not fix","provider":"redhat-vex","source":"CVE-2018-20225"},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","cpe":"cpe:/a:redhat:enterprise_linux:8","status":"affected","packages":["platform-python-pip","python-pip","python3-pip","python3-pip-wheel"],"package_count":4,"fixed":[],"advisories":[],"note":"Will not fix","provider":"redhat-vex","source":"CVE-2018-20225"},{"vendor":"Red Hat","product":"Red Hat Quay 3","cpe":"cpe:/a:redhat:quay:3","status":"affected","packages":["python27-python-pip"],"package_count":1,"fixed":[],"advisories":[],"note":"Will not fix","provider":"redhat-vex","source":"CVE-2018-20225"},{"vendor":"Red Hat","product":"Red Hat Software Collections","cpe":"cpe:/a:redhat:rhel_software_collections:3","status":"affected","packages":["python27-python-pip","rh-python36-python-pip"],"package_count":2,"fixed":[],"advisories":[],"note":"Will not fix","provider":"redhat-vex","source":"CVE-2018-20225"}],"records":[{"provider":"csaf-bsi","source_id":"WID-SEC-W-2023-2229","relation":"upstream","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2023-2229","license":"TLP:CLEAR, mirroring permitted","published_at":"2023-08-30T22:00:00Z","modified_at":"2025-11-18T23:00:00Z","summary":"Splunk Splunk Enterprise: Mehrere Schwachstellen","details":"Ein entfernter, authentifizierter Angreifer kann mehrere Schwachstellen in Splunk Splunk Enterprise ausnutzen, um beliebigen Code auszuführen, einen 'Denial of Service'-Zustand zu verursachen, seine Privilegien zu erweitern und weitere, nicht spezifizierte Auswirkungen zu verursachen.\n\nSplunk Enterprise ermöglicht Monitoring und Analyse von Clickstream-Daten und Kundentransaktionen.","severity":[{"type":"BSI","score":"hoch","source":"WID-SEC-W-2023-2229"}],"affected":[],"product_status":[],"references":[{"type":"WEB","url":"https://wid.cert-bund.de/.well-known/csaf/white/2023/wid-sec-w-2023-2229.json"},{"type":"WEB","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2023-2229"},{"type":"WEB","url":"https://advisory.splunk.com//advisories/SVD-2023-0801"},{"type":"WEB","url":"https://advisory.splunk.com//advisories/SVD-2023-0802"},{"type":"WEB","url":"https://advisory.splunk.com//advisories/SVD-2023-0803"},{"type":"WEB","url":"https://advisory.splunk.com//advisories/SVD-2023-0804"},{"type":"WEB","url":"https://advisory.splunk.com//advisories/SVD-2023-0805"},{"type":"WEB","url":"https://advisory.splunk.com//advisories/SVD-2023-0806"},{"type":"WEB","url":"https://advisory.splunk.com//advisories/SVD-2023-0807"},{"type":"WEB","url":"https://advisory.splunk.com//advisories/SVD-2023-0808"},{"type":"WEB","url":"https://lists.suse.com/pipermail/sle-security-updates/2024-January/017743.html"},{"type":"WEB","url":"https://linux.oracle.com/errata/ELSA-2024-2988.html"},{"type":"WEB","url":"https://advisory.splunk.com/advisories/SVD-2024-0718"},{"type":"WEB","url":"https://advisory.splunk.com//advisories/SVD-2024-0801"},{"type":"WEB","url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/UB7MGNRMXC5LO5Y66FLOE354VVU5ULQK/"},{"type":"WEB","url":"https://confluence.atlassian.com/security/security-bulletin-november-18-2025-1671463469.html"}]},{"provider":"cvelistv5","source_id":"CVE-2018-20225","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2018-20225","license":"CC-BY-4.0","published_at":"2020-05-08T17:29:12Z","modified_at":"2026-04-15T20:50:17.582Z","summary":"An issue was discovered in pip (all versions) because it installs the version with the highest version number, even if the user had intended to obtain a private package from a private index.","details":"An issue was discovered in pip (all versions) because it installs the version with the highest version number, even if the user had intended to obtain a private package from a private index. This only affects use of the --extra-index-url option, and exploitation requires that the package does not already exist in the public index (and thus the attacker can put the package there with an arbitrary version number). NOTE: it has been reported that this is intended functionality and the user is responsible for using --extra-index-url securely","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"CISA-ADP:CVE-2018-20225"}],"affected":[],"product_status":[],"references":[{"type":"WEB","url":"https://pip.pypa.io/en/stable/news/"},{"type":"WEB","url":"https://cowlicks.website/posts/arbitrary-code-execution-from-pips-extra-index-url.html"},{"type":"WEB","url":"https://lists.apache.org/thread.html/rb1adce798445facd032870d644eb39c4baaf9c4a7dd5477d12bb6ab2%40%3Cgithub.arrow.apache.org%3E"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1835736"}]},{"provider":"csaf-suse","source_id":"CVE-2018-20225","relation":"self","url":"https://www.suse.com/security/cve/CVE-2018-20225/","license":"TLP:CLEAR, mirroring permitted","published_at":"2023-02-15T04:21:18Z","modified_at":"2025-07-08T00:21:06Z","summary":"SUSE CVE CVE-2018-20225","details":"SUSE CVE-2018-20225\n\nAn issue was discovered in pip (all versions) because it installs the version with the highest version number, even if the user had intended to obtain a private package from a private index. This only affects use of the --extra-index-url option, and exploitation requires that the package does not already exist in the public index (and thus the attacker can put the package there with an arbitrary version number). NOTE: it has been reported that this is intended functionality and the user is responsible for using --extra-index-url securely","severity":[{"type":"SUSE","score":"moderate","source":"CVE-2018-20225"}],"affected":[],"product_status":[],"references":[{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2018-20225"},{"type":"WEB","url":"https://www.suse.com/support/security/rating/"},{"type":"WEB","url":"https://bugzilla.suse.com/1171462"}]},{"provider":"osv","source_id":"DEBIAN-CVE-2018-20225","relation":"self","url":"https://osv.dev/vulnerability/DEBIAN-CVE-2018-20225","published_at":"2020-05-08T18:15:10Z","modified_at":"2025-11-04T14:34:02.881225Z","withdrawn_at":"2025-11-04T14:34:02.881225Z","details":"An issue was discovered in pip (all versions) because it installs the version with the highest version number, even if the user had intended to obtain a private package from a private index. This only affects use of the --extra-index-url option, and exploitation requires that the package does not already exist in the public index (and thus the attacker can put the package there with an arbitrary version number). NOTE: it has been reported that this is intended functionality and the user is responsible for using --extra-index-url securely","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"DEBIAN-CVE-2018-20225"}],"affected":[{"ecosystem":"Debian:11","package":"python-pip","purl":"pkg:deb/debian/python-pip?arch=source","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["20.3.4-4","20.3.4-4+deb11u1","21.3.1+dfsg-1","21.3.1+dfsg-2","21.3.1+dfsg-3","22.0.2+dfsg-1","22.1+dfsg-1","22.1.1+dfsg-1","22.2+dfsg-1","22.3+dfsg-1","22.3.1+dfsg-1","22.3.1+dfsg-2","23.0+dfsg-1","23.0+dfsg-2","23.0.1+dfsg-1","23.1.2+dfsg-1","23.1.2+dfsg-2","23.2+dfsg-1","23.2.1+dfsg-1","23.3+dfsg-1","24.0+dfsg-1","24.0+dfsg-2","24.1+dfsg-1","24.1.1+dfsg-1","24.2+dfsg-1","24.3.1+dfsg-1","25.0+dfsg-1","25.0.1+dfsg-1","25.1+dfsg-1","25.1.1+dfsg-1","25.2+dfsg-1"],"provider":"osv","source":"DEBIAN-CVE-2018-20225","relation":"self"},{"ecosystem":"Debian:12","package":"python-pip","purl":"pkg:deb/debian/python-pip?arch=source","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["23.0.1+dfsg-1","23.1.2+dfsg-1","23.1.2+dfsg-2","23.2+dfsg-1","23.2.1+dfsg-1","23.3+dfsg-1","24.0+dfsg-1","24.0+dfsg-2","24.1+dfsg-1","24.1.1+dfsg-1","24.2+dfsg-1","24.3.1+dfsg-1","25.0+dfsg-1","25.0.1+dfsg-1","25.1+dfsg-1","25.1.1+dfsg-1","25.2+dfsg-1"],"provider":"osv","source":"DEBIAN-CVE-2018-20225","relation":"self"},{"ecosystem":"Debian:13","package":"python-pip","purl":"pkg:deb/debian/python-pip?arch=source","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["25.1.1+dfsg-1","25.2+dfsg-1"],"provider":"osv","source":"DEBIAN-CVE-2018-20225","relation":"self"},{"ecosystem":"Debian:14","package":"python-pip","purl":"pkg:deb/debian/python-pip?arch=source","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["25.1.1+dfsg-1","25.2+dfsg-1"],"provider":"osv","source":"DEBIAN-CVE-2018-20225","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2018-20225"}]},{"provider":"osv","source_id":"UBUNTU-CVE-2018-20225","relation":"self","url":"https://osv.dev/vulnerability/UBUNTU-CVE-2018-20225","license":"CC-BY-SA-4.0","published_at":"2020-05-08T18:15:00Z","modified_at":"2026-04-27T09:10:14.082274Z","details":"An issue was discovered in pip (all versions) because it installs the version with the highest version number, even if the user had intended to obtain a private package from a private index. This only affects use of the --extra-index-url option, and exploitation requires that the package does not already exist in the public index (and thus the attacker can put the package there with an arbitrary version number). NOTE: it has been reported that this is intended functionality and the user is responsible for using --extra-index-url securely","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"UBUNTU-CVE-2018-20225"},{"type":"Ubuntu","score":"negligible","source":"UBUNTU-CVE-2018-20225"}],"affected":[{"ecosystem":"Ubuntu:Pro:14.04:LTS","package":"python-pip","purl":"pkg:deb/ubuntu/python-pip@1.5.4-1ubuntu4+esm5?arch=source&distro=esm-infra-legacy/trusty","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.4.1-2","1.5.4-1","1.5.4-1ubuntu1","1.5.4-1ubuntu3","1.5.4-1ubuntu4","1.5.4-1ubuntu4+esm1","1.5.4-1ubuntu4+esm2","1.5.4-1ubuntu4+esm3","1.5.4-1ubuntu4+esm4","1.5.4-1ubuntu4+esm5"],"provider":"osv","source":"UBUNTU-CVE-2018-20225","relation":"self"},{"ecosystem":"Ubuntu:Pro:16.04:LTS","package":"python-pip","purl":"pkg:deb/ubuntu/python-pip@8.1.1-2ubuntu0.6+esm12?arch=source&distro=esm-apps/xenial","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.5.6-7ubuntu1","1.5.6-7ubuntu2","8.0.2-7","8.0.3-1","8.0.3-2","8.1.0-1","8.1.0-2","8.1.1-1","8.1.1-2","8.1.1-2ubuntu0.1","8.1.1-2ubuntu0.2","8.1.1-2ubuntu0.4","8.1.1-2ubuntu0.6","8.1.1-2ubuntu0.6+esm2","8.1.1-2ubuntu0.6+esm3","8.1.1-2ubuntu0.6+esm4","8.1.1-2ubuntu0.6+esm5","8.1.1-2ubuntu0.6+esm6","8.1.1-2ubuntu0.6+esm8","8.1.1-2ubuntu0.6+esm10","8.1.1-2ubuntu0.6+esm11","8.1.1-2ubuntu0.6+esm12"],"provider":"osv","source":"UBUNTU-CVE-2018-20225","relation":"self"},{"ecosystem":"Ubuntu:Pro:18.04:LTS","package":"python-pip","purl":"pkg:deb/ubuntu/python-pip@9.0.1-2.3~ubuntu1.18.04.8+esm8?arch=source&distro=esm-apps/bionic","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["9.0.1-2","9.0.1-2.3~ubuntu1","9.0.1-2.3~ubuntu1.18.04.1","9.0.1-2.3~ubuntu1.18.04.2","9.0.1-2.3~ubuntu1.18.04.3","9.0.1-2.3~ubuntu1.18.04.4","9.0.1-2.3~ubuntu1.18.04.5","9.0.1-2.3~ubuntu1.18.04.5+esm2","9.0.1-2.3~ubuntu1.18.04.5+esm3","9.0.1-2.3~ubuntu1.18.04.6","9.0.1-2.3~ubuntu1.18.04.6+esm1","9.0.1-2.3~ubuntu1.18.04.7","9.0.1-2.3~ubuntu1.18.04.7+esm1","9.0.1-2.3~ubuntu1.18.04.8","9.0.1-2.3~ubuntu1.18.04.8+esm1","9.0.1-2.3~ubuntu1.18.04.8+esm2","9.0.1-2.3~ubuntu1.18.04.8+esm4","9.0.1-2.3~ubuntu1.18.04.8+esm6","9.0.1-2.3~ubuntu1.18.04.8+esm7","9.0.1-2.3~ubuntu1.18.04.8+esm8"],"provider":"osv","source":"UBUNTU-CVE-2018-20225","relation":"self"},{"ecosystem":"Ubuntu:Pro:20.04:LTS","package":"python-pip","purl":"pkg:deb/ubuntu/python-pip@20.0.2-5ubuntu1.11+esm4?arch=source&distro=esm-apps/focal","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["18.1-5","18.1-5build1","18.1-5ubuntu1","20.0.2-2","20.0.2-4","20.0.2-5","20.0.2-5ubuntu1","20.0.2-5ubuntu1.1","20.0.2-5ubuntu1.3","20.0.2-5ubuntu1.4","20.0.2-5ubuntu1.5","20.0.2-5ubuntu1.6","20.0.2-5ubuntu1.7","20.0.2-5ubuntu1.8","20.0.2-5ubuntu1.9","20.0.2-5ubuntu1.10","20.0.2-5ubuntu1.10+esm2","20.0.2-5ubuntu1.11","20.0.2-5ubuntu1.11+esm2","20.0.2-5ubuntu1.11+esm3","20.0.2-5ubuntu1.11+esm4"],"provider":"osv","source":"UBUNTU-CVE-2018-20225","relation":"self"}],"product_status":[],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2018-20225"},{"type":"REPORT","url":"https://cowlicks.website/posts/arbitrary-code-execution-from-pips-extra-index-url.html"},{"type":"REPORT","url":"https://pip.pypa.io/en/stable/news/"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2018-20225"}]},{"provider":"redhat-vex","source_id":"CVE-2018-20225","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2018-20225","license":"CC-BY-4.0","published_at":"2020-04-28T00:00:00Z","modified_at":"2025-10-29T16:59:33Z","summary":"python-pip: when --extra-index-url option is used and package does not already exist in the public index, the installation of malicious package with arbitrary version number is possible.","details":"A vulnerability was found in python-pip due to a flaw in the --extra-index-url option, where it installs the version with the highest version number, even if the user intended to obtain a private package from a private index. Exploitation requires that the package does not already exist in the public index, allowing an attacker to place the package there with an arbitrary version number.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"CVE-2018-20225"},{"type":"Red Hat","score":"Low","source":"CVE-2018-20225"}],"affected":[{"ecosystem":"Red Hat:enterprise_linux:8","package":"platform-python-pip","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2018-20225","relation":"self"},{"ecosystem":"Red Hat:enterprise_linux:8","package":"python-pip","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2018-20225","relation":"self"},{"ecosystem":"Red Hat:enterprise_linux:8","package":"python3-pip","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2018-20225","relation":"self"},{"ecosystem":"Red Hat:enterprise_linux:8","package":"python3-pip-wheel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2018-20225","relation":"self"},{"ecosystem":"Red Hat:quay:3","package":"python27-python-pip","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2018-20225","relation":"self"},{"ecosystem":"Red Hat:rhel_els:7","package":"python-pip","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2018-20225","relation":"self"},{"ecosystem":"Red Hat:rhel_els:7","package":"python3-pip","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2018-20225","relation":"self"},{"ecosystem":"Red Hat:rhel_software_collections:3","package":"python27-python-pip","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2018-20225","relation":"self"},{"ecosystem":"Red Hat:rhel_software_collections:3","package":"rh-python36-python-pip","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2018-20225","relation":"self"}],"product_status":[{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 7","cpe":"cpe:/o:redhat:rhel_els:7","status":"affected","packages":["python-pip","python3-pip"],"package_count":2,"fixed":[],"advisories":[],"note":"Will not fix","provider":"redhat-vex","source":"CVE-2018-20225"},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","cpe":"cpe:/a:redhat:enterprise_linux:8","status":"affected","packages":["platform-python-pip","python-pip","python3-pip","python3-pip-wheel"],"package_count":4,"fixed":[],"advisories":[],"note":"Will not fix","provider":"redhat-vex","source":"CVE-2018-20225"},{"vendor":"Red Hat","product":"Red Hat Quay 3","cpe":"cpe:/a:redhat:quay:3","status":"affected","packages":["python27-python-pip"],"package_count":1,"fixed":[],"advisories":[],"note":"Will not fix","provider":"redhat-vex","source":"CVE-2018-20225"},{"vendor":"Red Hat","product":"Red Hat Software Collections","cpe":"cpe:/a:redhat:rhel_software_collections:3","status":"affected","packages":["python27-python-pip","rh-python36-python-pip"],"package_count":2,"fixed":[],"advisories":[],"note":"Will not fix","provider":"redhat-vex","source":"CVE-2018-20225"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2018/cve-2018-20225.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2018-20225"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1835736"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2018-20225"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-20225"},{"type":"WEB","url":"https://cowlicks.website/posts/arbitrary-code-execution-from-pips-extra-index-url.html"}]}],"references":[{"type":"WEB","url":"https://pip.pypa.io/en/stable/news/"},{"type":"WEB","url":"https://cowlicks.website/posts/arbitrary-code-execution-from-pips-extra-index-url.html"},{"type":"WEB","url":"https://lists.apache.org/thread.html/rb1adce798445facd032870d644eb39c4baaf9c4a7dd5477d12bb6ab2%40%3Cgithub.arrow.apache.org%3E"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1835736"},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2018-20225"},{"type":"WEB","url":"https://www.suse.com/support/security/rating/"},{"type":"WEB","url":"https://bugzilla.suse.com/1171462"},{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2018-20225"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2018-20225"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2018-20225"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2018/cve-2018-20225.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2018-20225"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-20225"}],"sources":[{"provider":"csaf-bsi","source_id":"WID-SEC-W-2023-2229","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2023-2229","license":"TLP:CLEAR, mirroring permitted","modified_at":"2025-11-18T23:00:00Z","relation":"upstream"},{"provider":"cvelistv5","source_id":"CVE-2018-20225","url":"https://www.cve.org/CVERecord?id=CVE-2018-20225","license":"CC-BY-4.0","modified_at":"2026-04-15T20:50:17.582Z","relation":"self"},{"provider":"csaf-suse","source_id":"CVE-2018-20225","url":"https://www.suse.com/security/cve/CVE-2018-20225/","license":"TLP:CLEAR, mirroring permitted","modified_at":"2025-07-08T00:21:06Z","relation":"self"},{"provider":"osv","source_id":"DEBIAN-CVE-2018-20225","url":"https://osv.dev/vulnerability/DEBIAN-CVE-2018-20225","modified_at":"2025-11-04T14:34:02.881225Z","relation":"self"},{"provider":"osv","source_id":"UBUNTU-CVE-2018-20225","url":"https://osv.dev/vulnerability/UBUNTU-CVE-2018-20225","license":"CC-BY-SA-4.0","modified_at":"2026-04-27T09:10:14.082274Z","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2018-20225","url":"https://access.redhat.com/security/cve/CVE-2018-20225","license":"CC-BY-4.0","modified_at":"2025-10-29T16:59:33Z","relation":"self"}]}
