CVE-2018-20225Pypa Pip
High 7.8
Follow: this CVE · Pypa · Pypa Pip We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 7.8
- EPSS
- 1.8% probability of exploitation in 30 days · percentile 79
- Auth required
- Yes
- Published
- May 8, 2020
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-20
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
What happens
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
What to do
- Apply the vendor's security update for Pip.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| pypa | pip | all |
Official sources
References
Links published by the sources. Open them with care.
- bugzilla.redhat.com
- cowlicks.website Third Party Advisory
- lists.apache.org
- pip.pypa.io Release Notes Vendor Advisory