The mirroring support (-M, --use-mirrors) in Python Pip before 1.5 uses insecure DNS…
Priority LOW 37CWE-287Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- High
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- None · High · None
- Fix status
- Partial Red Hat: 3 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-287.
Summary
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.
Why it matters now
EPSS 0.07987 94th percentileScored 2026-11-07
Fix Partial pip (PyPI): 1.5Red Hat: 3 without a fix
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | pip (PyPI) | before 1.5 | 1.5 | Patch available | GHSA-c5h8-cq4v-cvfm |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- pip (PyPI) Vendor— Affected before 1.5 Fixed in 1.5 Patch available GHSA-c5h8-cq4v-cvfm
CPE configurations NVD · 10
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:pypa:pip:*:*:*:*:*:*:*:* | before 1.5 | Vulnerable | pypa |
| cpe:2.3:a:virtualenv:virtualenv:12.0.7:*:*:*:*:*:*:* | 12.0.7 | Vulnerable | Virtualenv |
| cpe:2.3:o:fedoraproject:fedora:20:*:*:*:*:*:*:* | 20 | Vulnerable | Fedoraproject |
| cpe:2.3:o:fedoraproject:fedora:21:*:*:*:*:*:*:* | 21 | Vulnerable | Fedoraproject |
| cpe:2.3:a:redhat:openshift:1.0:*:*:*:enterprise:*:*:* | 1.0 | Vulnerable | Red Hat |
| cpe:2.3:a:redhat:openshift:2.0:*:*:*:enterprise:*:*:* | 2.0 | Vulnerable | Red Hat |
| cpe:2.3:a:redhat:software_collections:-:*:*:*:*:*:*:* | not specified by NVD | Vulnerable | Red Hat |
| cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* | 8.0 | Vulnerable | Debian |
| cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* | 9.0 | Vulnerable | Debian |
| cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* | 10.0 | Vulnerable | Debian |
- cpe:2.3:a:pypa:pip:*:*:*:*:*:*:*:* Versions before 1.5 Vulnerable ·pypa
- cpe:2.3:a:virtualenv:virtualenv:12.0.7:*:*:*:*:*:*:* Versions 12.0.7 Vulnerable ·Virtualenv
- cpe:2.3:o:fedoraproject:fedora:20:*:*:*:*:*:*:* Versions 20 Vulnerable ·Fedoraproject
- cpe:2.3:o:fedoraproject:fedora:21:*:*:*:*:*:*:* Versions 21 Vulnerable ·Fedoraproject
- cpe:2.3:a:redhat:openshift:1.0:*:*:*:enterprise:*:*:* Versions 1.0 Vulnerable ·Red Hat
- cpe:2.3:a:redhat:openshift:2.0:*:*:*:enterprise:*:*:* Versions 2.0 Vulnerable ·Red Hat
- cpe:2.3:a:redhat:software_collections:-:*:*:*:*:*:*:* Versions not specified by NVD Vulnerable ·Red Hat
- cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* Versions 8.0 Vulnerable ·Debian
- cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* Versions 9.0 Vulnerable ·Debian
- cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* Versions 10.0 Vulnerable ·Debian
Remediation
- Fix · GHSA-c5h8-cq4v-cvfm pip (PyPI) Fixed in 1.5 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| OpenShift Enterprise 1 | Affected | No fix planned: Will not fix |
| Red Hat OpenShift Enterprise 2 | Affected | No fix planned: Will not fix |
| Red Hat Software Collections | Affected | No fix yet |
Timeline
- 2026-10-02 Threatist record created from CVE-2013-5123
- 2026-10-03 Alias added: GHSA-c5h8-cq4v-cvfm
References
Advisory 8
- https://security-tracker.debian.org/tracker/CVE-2013-5123
- https://bugzilla.suse.com/show_bug.cgi?id=CVE-2013-5123
- http://lists.fedoraproject.org/pipermail/package-announce/2015-April/155248.html
- http://lists.fedoraproject.org/pipermail/package-announce/2015-April/155291.html
- http://www.openwall.com/lists/oss-security/2013/08/21/17
- http://www.openwall.com/lists/oss-security/2013/08/21/18
- https://nvd.nist.gov/vuln/detail/CVE-2013-5123
- https://github.com/advisories/GHSA-c5h8-cq4v-cvfm
Sources
- CVE-2013-5123 · CVE Program
- CVE-2013-5123 · NVD
- FIRST EPSS
- GHSA-c5h8-cq4v-cvfm · GitHub Advisory Database · CC BY 4.0
- CVE-2013-5123 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences