Improper Authentication in pip
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.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | pip | < 1.5 | 1.5 |
References
- http://lists.fedoraproject.org/pipermail/package-announce/2015-April/155248.html
- http://www.openwall.com/lists/oss-security/2013/08/21/18
- https://bugzilla.suse.com/show_bug.cgi?id=CVE-2013-5123
- http://lists.fedoraproject.org/pipermail/package-announce/2015-April/155291.html
- https://security-tracker.debian.org/tracker/CVE-2013-5123
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2013-5123
- http://www.openwall.com/lists/oss-security/2013/08/21/17
- http://www.securityfocus.com/bid/77520
- https://github.com/advisories/GHSA-c5h8-cq4v-cvfm
- https://nvd.nist.gov/vuln/detail/CVE-2013-5123
- https://github.com/pypa/advisory-database/tree/main/vulns/pip/PYSEC-2019-160.yaml
- CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N- Weakness (CWE)
CWE-287- Platform
- Python (PyPI)
- Package
pip- Disclosed
- 05.11.2019
- Updated
- 11.10.2026 11:20
Sources and licenses
OSV / GitHub Advisory Database - PYSEC-2019-160 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-c5h8-cq4v-cvfm - CC BY 4.0
Vulnerability history: pip
All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 13
- First → latest
- 08.2013 07.2026
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- High 4
- Medium 8
- Low 1
Disclosures per year
- 2017: 0
- 2018: 0
- 2019: 1
- 2020: 1
- 2021: 1
- 2022: 0
- 2023: 1
- 2024: 0
- 2025: 1
- 2026: 5
earlier: 3
-
Improper Authentication in pip this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.