CVE-2016-3105: Mercurial vulnerable to arbitrary code execution when converting Git repos

CVE-2016-3105 · Severity: low · CVSS 3 · Published 2016-05-09

The convert extension in Mercurial before 3.8 might allow context-dependent attackers to execute arbitrary code via a crafted git repository name.

Technologies: mercurial (PyPI). Vendors: PyPI.

Quick answers

Is CVE-2016-3105 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2016-3105 being exploited in the wild.
How severe is CVE-2016-3105?
Low severity, with a CVSS score of 3, published 9 May 2016.
Which products and versions are affected?
mercurial (PyPI) ECOSYSTEM:introduced=0,fixed=3.8, ECOSYSTEM:introduced=0,fixed=3.8-rc.
Is there a fix for CVE-2016-3105?
Yes. mercurial (PyPI): upgrade to 3.8, 3.8-rc or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2016-3105?
Check whether you run mercurial (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

  • mercurial (PyPI): upgrade to 3.8, 3.8-rc or later
    pip install "mercurial>=3.8-rc"

Affected products

  • mercurial (PyPI) ECOSYSTEM:introduced=0,fixed=3.8, ECOSYSTEM:introduced=0,fixed=3.8-rc

Identifiers

  • CVE-2016-3105
  • GHSA-49cw-434h-qc57
  • PYSEC-2016-28

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