CVE-2013-5123Pypa Pip
Medium 5.9 No auth needed
Follow: this CVE · Pypa · Pypa Pip We alert you by email or Slack (account required).
- Priority
- 51
- CVSS 3.1
- 5.9
- EPSS
- 8.0% probability of exploitation in 30 days · percentile 96
- Auth required
- No
- Published
- Nov 5, 2019
- Updated
- Jun 16, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-287
- Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
What happens
The mirroring support (-M, --use-mirrors) in Python Pip before 1.5 uses insecure DNS querying and authenticity checks which allows attackers to perform man-in-the-middle attacks.
What to do
- Apply the vendor's security update for Pip.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | pip |
< 1.5 |
1.5 |
pip install "pip>=1.5" |
| PyPI | pip |
< 1.5 |
1.5 |
pip install "pip>=1.5" |
Per OSV / GitHub Advisories (GHSA-c5h8-cq4v-cvfm, PYSEC-2019-160). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| pypa | pip | < 1.5 |
| virtualenv | virtualenv | 12.0.7 |
| fedoraproject | fedora | 20 |
| fedoraproject | fedora | 21 |
| redhat | openshift | 1.0 |
| redhat | openshift | 2.0 |
| redhat | software_collections | all |
| debian | debian_linux | 8.0 |
| debian | debian_linux | 9.0 |
| debian | debian_linux | 10.0 |
Official sources
References
Links published by the sources. Open them with care.
- lists.fedoraproject.org Mailing List Third Party Advisory
- lists.fedoraproject.org Mailing List Third Party Advisory
- www.openwall.com Mailing List Third Party Advisory
- www.openwall.com Mailing List Third Party Advisory
- www.securityfocus.com Broken Link Third Party Advisory VDB Entry
- bugzilla.redhat.com Issue Tracking Patch Third Party Advisory
- bugzilla.suse.com Issue Tracking Third Party Advisory
- security-tracker.debian.org Third Party Advisory