CVE-2013-5123: Improper Authentication in pip

CVE-2013-5123 · Severity: low · CVSS 3.1 · Published 2019-11-05

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.

Technologies: pip (PyPI). Vendors: PyPI.

Quick answers

Is CVE-2013-5123 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2013-5123 being exploited in the wild.
How severe is CVE-2013-5123?
Low severity, with a CVSS score of 3.1, published 5 November 2019.
Which products and versions are affected?
pip (PyPI) ECOSYSTEM:introduced=0,fixed=1.5.
Is there a fix for CVE-2013-5123?
Yes. pip (PyPI): upgrade to 1.5 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2013-5123?
Check whether you run pip (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • pip (PyPI): upgrade to 1.5 or later
    pip install "pip>=1.5"

Affected products

  • pip (PyPI) ECOSYSTEM:introduced=0,fixed=1.5

Identifiers

  • CVE-2013-5123
  • GHSA-c5h8-cq4v-cvfm
  • PYSEC-2019-160

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.