CVE-2018-20225
Reported by mitre · Published May 8, 2020
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
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| PyPI | pip | 0 |
| chainguard | py3.9-pip | * |
| chainguard | py3.8-pip | * |
| wolfi | py3-pip | * |
| chainguard | conda | * |
| wolfi | conda | * |
| n/a | n/a | * |
| chainguard | pulumi | * |
| arch | python-pip | 0 |
| chainguard | py3-pip | * |
| chainguard | py3.7-pip | * |
| wolfi | pulumi | * |
Timeline
- May 8, 2020 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Mar 17, 2026 Security Advisory (2 in total, the first dated here)
- Sep 21, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2018-20225
vulnetix vdb fixes CVE-2018-20225
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2018-20225/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_MISC
- x_refsource_MISC
- [arrow-github] 20200527 [GitHub] [arrow] BinduAggarwal opened a new pull request #7294: upgrading pip/wheel/setuptools mailing-listx_refsource_MLIST
- x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2018-20225 advisory