NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
🐍
🐍 PyPI
Not in CISA KEV
MEDIUM severity

CVE-2013-5123 — pip

MEDIUM

CVE-2013-5123 is a medium-severity (CVSS 5.9) Improper Authentication vulnerability in pip. 1 public exploit or proof-of-concept reference is indexed, so weaponization risk is real. A fix is available for pip — see the affected versions and patch details below.

Improper Authentication in pip

Also known asGHSA-c5h8-cq4v-cvfmPYSEC-2019-160
Published
Updated
Affected
1 pkg
Patched
1 / 1
Exploits
1 known
Exploitation data as of Nov 2, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

EPSS Exploitation Probability

via FIRST.org ↗
8.0%probability of exploitation in next 30 days
Lower Risk0.00%
Lower risk than most CVEs95th percentile — riskier than 95% of all scored CVEsHighest risk
6.67%9.01%11.4%13.7%12.4%8.0%May 26Sep 26Nov 26

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

How urgent is this, really

Where this sits among everything scored

Real-World Exposure

1 pkg affected
🐍pip

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects PyPI packages — download data is not available via public APIs for these ecosystems.

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.

Affected Packages

1 total 1 fixed
EcosystemPackageVulnerable rangeFix
🐍PyPIpipall versions1.5pip install --upgrade 'pip==1.5'

Affected Products

6 products · 10 configurations
OS
debian linuxdebian
3 versions
8.09.010.0
OS
fedorafedoraproject
2 versions
2021
Application
pippypa
< 1.5
range
Application
openshiftredhat
2 versions
1.02.0
Application
software collectionsredhat
all
Application
virtualenvvirtualenv
1 version
12.0.7
Exploits & PoCs
1

Research use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.

EDB-24086webappsphp✓ Verified

phlyLabs phlyMail Lite 4.03.04 - 'go' Open Redirect

by LiquidWorm · Jan 13, 2013

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for pip, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update pip to 1.5 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2013-5123 is resolved across your whole dependency graph.

  3. Workarounds

    Put an independent control in front of the weakness: restrict the affected endpoint or interface to trusted networks, require an additional authentication factor or proxy-level check, and invalidate existing sessions and credentials in case the flaw has already been used.

Frequently Asked Questions

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.
O3 Security · Impact-Aware SCA

Is CVE-2013-5123 in your dependencies?

Find it across PyPI, including transitive dependencies.

CVE-2013-5123: pip — Fixed in 1.5