Every CVE Search/ Get API key

CVE-2013-5123

Improper Authentication in pip

5.9 MediumPublic exploitFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
High
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
None
Integrity
High
Availability
None

Exploit likelihood

7.99%Up 6.8 points since Feb 4, 2022
90%50%10%1%

What each source reports

NVD Score used 5.9

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.

Record
CVE-2013-5123
CVSS 3.1
5.9 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
CVSS 2.0
4.3 MediumAV:N/AC:M/Au:N/C:N/I:P/A:N
Weakness
CWE-287
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2013-5123
Updated
2026-11-02
EUVDEUVD-2019-0103 No score

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.

Record
EUVD-2019-0103
Updated
2026-11-03
GitHub AdvisoriesGHSA-c5h8-cq4v-cvfm 8.2

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.

Record
GHSA-c5h8-cq4v-cvfm
CVSS 4.0
8.2 HighCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
CVSS 3.1
5.9 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
Weakness
CWE-287
Updated
2026-11-02
OSV 5.9

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.

Record
CVE-2013-5123
CVSS 3.1
5.9 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
Updated
2026-11-02
OSVDEBIAN-CVE-2013-5123 5.9

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.

Record
DEBIAN-CVE-2013-5123
CVSS 3.1
5.9 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
Updated
2026-11-02
Show 10 moreShow less
OSVGHSA-c5h8-cq4v-cvfm 8.2

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.

Record
GHSA-c5h8-cq4v-cvfm
CVSS 4.0
8.2 HighCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
CVSS 3.1
5.9 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
Weakness
CWE-287
Updated
2026-11-02
OSVUBUNTU-CVE-2013-5123 5.9

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.

Record
UBUNTU-CVE-2013-5123
CVSS 3.1
5.9 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
Updated
2026-11-02
OSVMGASA-2015-0180 No score

Updated python-pip packages fix security vulnerabilities

Updated python-pip and python-virtualenv packages fix security vulnerability:

The mirroring support in python-pip was implemented without any sort of authenticity checks and is downloaded over plaintext HTTP. Further more by default it will dynamically discover the list of available mirrors by querying a DNS entry and extrapolating from that data. It does not attempt to use any sort of method of securing this querying of the DNS like DNSSEC. Software packages are downloaded over these insecure links, unpacked, and then typically the setup.py python file inside of them is executed (CVE-2013-5123).

This was fixed in python-pip by removing the mirroring support (i.e., the --use-mirrors, -M, and --mirrors flags). With the updated version, in order to use a mirror, one must specify it as the primary index with -i or --index-url, or as an additional index with --extra-index-url.

The python-virtualenv package bundles a copy of python-pip, so it has also been updated to fix this issue.

The python-virtualenv package bundles python-requests as well, so this update fixes the session fixation issue CVE-2015-2296 in the bundled python-requests.

Record
MGASA-2015-0180
Updated
2026-11-02
OSVopenSUSE-SU-2024:10098-1 No score

python-pip-8.1.2-1.2 on GA media

These are all security issues fixed in the python-pip-8.1.2-1.2 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:10098-1
Updated
2026-11-02
OSVopenSUSE-SU-2024:11251-1 No score

python36-pip-20.2.4-1.8 on GA media

These are all security issues fixed in the python36-pip-20.2.4-1.8 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:11251-1
Updated
2026-11-02
OSVopenSUSE-SU-2024:11281-1 No score

python2-pip-20.0.2-2.6 on GA media

These are all security issues fixed in the python2-pip-20.0.2-2.6 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:11281-1
Updated
2026-11-02
OSVopenSUSE-SU-2024:13916-1 No score

python310-pip-24.0-1.1 on GA media

These are all security issues fixed in the python310-pip-24.0-1.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:13916-1
Updated
2026-11-02
OSVPYSEC-2019-160 No score

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.

Record
PYSEC-2019-160
Updated
2026-11-02
OSVSUSE-FU-2021:2130-1 No score

Feature implementation for python39-pip, python39-setuptools

This update for python39-pip, python39-setuptools fixes the following issues:

Changes in python39-setuptools:

  • Provide python39-setuptools version 44.1.1 with vendored dependencies. (jsc#SLE-17532, jsc#SLE-17957)

Changes in python39-pip:

  • Provide python39-pip version 20.2.4 with vendored dependencies. (jsc#SLE-17532, jsc#SLE-17957)
Record
SUSE-FU-2021:2130-1
Updated
2026-11-02
OSVSUSE-RU-2019:2505-1 No score

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

This 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 fixes the following issues:

python-pip was updated to 10.0.1 (fate#324191, bsc#1065275)

Enable python3 build 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
Record
SUSE-RU-2019:2505-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
pip
PyPI
before 1.5
1.5
python-pip
Debian:12
before 1.4.1-1
1.4.1-1
python-pip
Debian:13
before 1.4.1-1
1.4.1-1
python-pip
Debian:14
before 1.4.1-1
1.4.1-1
pip
PyPI
before 1.5, plus listed versions
0.20.2.10.30.3.10.4
Show 23 moreShow less
0.50.5.10.60.6.10.6.20.6.30.70.7.10.7.20.80.8.10.8.20.8.31.01.0.11.0.21.11.21.2.11.31.3.11.41.4.1
1.5
python-pip
Mageia:4
before 6.1.1-1.mga4
6.1.1-1.mga4
python-virtualenv
Mageia:4
before 12.1.1-1.mga4
12.1.1-1.mga4
python39-pip
SUSE:Linux Enterprise Module for Basesystem 15 SP3
From an advisory covering 4 CVEs
before 20.2.4-7.5.1
20.2.4-7.5.1
python39-setuptools
SUSE:Linux Enterprise Module for Basesystem 15 SP3
From an advisory covering 4 CVEs
before 44.1.1-7.3.1
44.1.1-7.3.1
python-pip
SUSE:OpenStack Cloud 7
From an advisory covering 3 CVEs
before 10.0.1-11.6.1
10.0.1-11.6.1
Show 11 moreShow less
Affected packages
PackageAffectedFixed
python-ply
SUSE:OpenStack Cloud 7
From an advisory covering 3 CVEs
before 3.4-3.3.1
3.4-3.3.1
python-ply
SUSE:Linux Enterprise Desktop 12 SP4
From an advisory covering 3 CVEs
before 3.4-3.3.1
3.4-3.3.1
python-jmespath
SUSE:Linux Enterprise Module for Public Cloud 12
From an advisory covering 3 CVEs
before 0.9.2-10.6.1
0.9.2-10.6.1
python-jsonschema
SUSE:Linux Enterprise Module for Public Cloud 12
From an advisory covering 3 CVEs
before 2.2.0-3.3.1
2.2.0-3.3.1
python-paramiko
SUSE:Linux Enterprise Module for Public Cloud 12
From an advisory covering 3 CVEs
before 1.18.5-2.15.1
1.18.5-2.15.1
python-pip
SUSE:Linux Enterprise Module for Public Cloud 12
From an advisory covering 3 CVEs
before 10.0.1-11.6.1
10.0.1-11.6.1
python-ply
SUSE:Linux Enterprise Module for Public Cloud 12
From an advisory covering 3 CVEs
before 3.4-3.3.1
3.4-3.3.1
python-ply
SUSE:Linux Enterprise Server 12 SP4
From an advisory covering 3 CVEs
before 3.4-3.3.1
3.4-3.3.1
python-ply
SUSE:Linux Enterprise Server for SAP Applications 12 SP4
From an advisory covering 3 CVEs
before 3.4-3.3.1
3.4-3.3.1
python-pip
openSUSE:Tumbleweed
From an advisory covering 3 CVEs
before 9.0.1-1.1
9.0.1-1.1
python2-pip
openSUSE:Tumbleweed
From an advisory covering 3 CVEs
before 20.0.2-2.6
20.0.2-2.6

Public exploits

Links only. Every CVE stores no exploit code.

Public exploits
SourceLinkDate
Exploit-DBphlyLabs phlyMail Lite 4.03.04 - 'go' Open Redirect2013-01-13

History

History
RecordedChangedSources
affected, facts
affected
aliasesEUVD
first indexedCVE List, Exploit-DB, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2013-5123 is a medium vulnerability (CVSS 5.9) in Pypa Pip, published May 3, 2015. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 7.99%, the 94th percentile. Fixed in pip 1.5.

References

Show 26 moreShow less
MoveEnter Open