Description
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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | python-pip | 1.4.1-1 | — |
| Debian 13 | python-pip | 1.4.1-1 | — |
| Debian 12 | python-pip | 1.4.1-1 | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP3 | python39-pip | 20.2.4-7.5.1 | SUSE-FU-2021:2130-1 |
| SLES 15 SP3 | python39-setuptools | 44.1.1-7.3.1 | SUSE-FU-2021:2130-1 |
| SLES 12 SP4 | python-ply | 3.4-3.3.1 | SUSE-RU-2019:2505-1 |
| SLES 12 | python-jmespath | 0.9.2-10.6.1 | SUSE-RU-2019:2505-1 |
| SLES 12 | python-jsonschema | 2.2.0-3.3.1 | SUSE-RU-2019:2505-1 |
| SLES 12 | python-paramiko | 1.18.5-2.15.1 | SUSE-RU-2019:2505-1 |
| SLES 12 | python-pip | 10.0.1-11.6.1 | SUSE-RU-2019:2505-1 |
| SLES 12 | python-ply | 3.4-3.3.1 | SUSE-RU-2019:2505-1 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 12 SP4 | python-ply | 3.4-3.3.1 | SUSE-RU-2019:2505-1 |
| SUSE OpenStack Cloud 7 | python-pip | 10.0.1-11.6.1 | SUSE-RU-2019:2505-1 |
| SUSE OpenStack Cloud 7 | python-ply | 3.4-3.3.1 | SUSE-RU-2019:2505-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | python-pip | 9.0.1-1.1 | openSUSE-SU-2024:10098-1 |
| openSUSE Tumbleweed | python2-pip | 20.0.2-2.6 | openSUSE-SU-2024:11281-1 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 1
- phlyLabs phlyMail Lite 4.03.04 - 'go' Open Redirect EDB-24086 · webapps · Jan 13, 2013 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | pip | < 1.5 | 1.5 | GHSA-c5h8-cq4v-cvfm |
Advisories 4
- SUSE-RU-2019:2505-1 Recommended update for python-jmespath, python-jsonschema, python-paramiko, python-pexpect, python-pip, python-ply, python-pretend, python-process-tests, python-pycodestyle, python-pyflakes, python-pyxdg, python-tabulate, python-vcversioner SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-FU-2021:2130-1 Feature implementation for python39-pip, python39-setuptools SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:10098-1 python-pip-8.1.2-1.2 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:11281-1 python2-pip-20.0.2-2.6 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
References
- https://security-tracker.debian.org/tracker/CVE-2013-5123
- https://bugzilla.redhat.com/show_bug.cgi?id=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
- http://www.securityfocus.com/bid/77520