cve.bz

CVE-2013-5123 Improper Authentication

5.9 mediumExploitEPSS 8.0%Fix available

Medium (5.9). EPSS 8.0% estimated probability of exploitation activity in the next 30 days. Fixed in pip 1.5.

On this page
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.

Severity

CVSS 3.1

5.9 medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
EPSS
8.0% (unchanged from 8.0% a week ago; 8.0% 30 days ago) estimated probability of exploitation activity in the next 30 days; 95th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-287 Improper Authentication
OWASP Top 10
A07:2025 Authentication Failures
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2013-5123 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2013-5123?via=ask-ai-copy and https://cve.bz/cve/CVE-2013-5123?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2013-5123 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
pypa:pipbefore 1.5
virtualenv:virtualenv12.0.7
fedoraproject:fedora20
fedoraproject:fedora21
redhat:openshift1.0
redhat:openshift2.0
debian:debian_linux8.0
debian:debian_linux9.0
debian:debian_linux10.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-c5h8-cq4v-cvfmPyPIpip<1.51.5
PYSEC-2019-160PyPIpip<1.51.5

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14python-pip1.4.1-1DEBIAN-CVE-2013-5123
SUSELinux Enterprise Desktop 12 SP4, Linux Enterprise Module for Public Cloud 12, Linux Enterprise Server 12 SP4 and 2 morepython-ply3.4-3.3.1SUSE-RU-2019:2505-1
SUSELinux Enterprise Module for Basesystem 15 SP3python39-pip20.2.4-7.5.1SUSE-FU-2021:2130-1
SUSELinux Enterprise Module for Basesystem 15 SP3python39-setuptools44.1.1-7.3.1SUSE-FU-2021:2130-1
SUSELinux Enterprise Module for Public Cloud 12python-jmespath0.9.2-10.6.1SUSE-RU-2019:2505-1
SUSELinux Enterprise Module for Public Cloud 12python-jsonschema2.2.0-3.3.1SUSE-RU-2019:2505-1
SUSELinux Enterprise Module for Public Cloud 12python-paramiko1.18.5-2.15.1SUSE-RU-2019:2505-1
SUSELinux Enterprise Module for Public Cloud 12, OpenStack Cloud 7python-pip10.0.1-11.6.1SUSE-RU-2019:2505-1
openSUSETumbleweedpython-pip9.0.1-1.1openSUSE-SU-2024:10098-1
openSUSETumbleweedpython2-pip20.0.2-2.6openSUSE-SU-2024:11281-1

From the distributions' data via OSV.dev: the Debian Security Tracker; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
OpenShift Enterprise 1python-virtualenvWill not fix
Red Hat OpenShift Enterprise 2python27-python-pipWill not fix
Red Hat OpenShift Enterprise 2python-virtualenvWill not fix
Red Hat Software Collectionspython27-python-virtualenvAffected
Red Hat Software Collectionspython33-python-virtualenvAffected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2013-5123.

Public exploits

Attack patterns (CAPEC)

  • CAPEC-22 Exploiting Trust in Client Likelihood: High · Severity: High
  • CAPEC-57 Utilizing REST's Trust in the System Resource to Obtain Sensitive Data Likelihood: Medium · Severity: Very High
  • CAPEC-94 Adversary in the Middle (AiTM) Likelihood: High · Severity: Very High
  • CAPEC-114 Authentication Abuse Severity: Medium
  • CAPEC-115 Authentication Bypass Severity: Medium
  • CAPEC-151 Identity Spoofing Likelihood: Medium · Severity: Medium
  • CAPEC-194 Fake the Source of Data Severity: Medium
  • CAPEC-593 Session Hijacking Likelihood: High · Severity: Very High
  • CAPEC-633 Token Impersonation Severity: Medium
  • CAPEC-650 Upload a Web Shell to a Web Server Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON