RCE in Mercurial

CVE-2017-1000116

Mercurial prior to 4.3 did not adequately sanitize hostnames passed to ssh, leading to possible shell-injection attacks.

Vulnerability class: Command Injection (OS Command Injection)

EPSS: 0.046 (89.4th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

References

  • cve@mitre.org (x_refsource_CONFIRM, Release Notes, Vendor Advisory)
  • cve@mitre.org (VDB Entry, Third Party Advisory, vdb-entry, x_refsource_BID)
  • cve@mitre.org (vendor-advisory, Third Party Advisory, x_refsource_DEBIAN)
  • cve@mitre.org (x_refsource_REDHAT, vendor-advisory, Third Party Advisory)
  • cve@mitre.org (vendor-advisory, Patch, VDB Entry, Third Party Advisory, x_refsource_GENTOO)

Frequently asked questions

What is CVE-2017-1000116?
CVE-2017-1000116 is a critical-severity vulnerability in Mercurial, classified under OS Command Injection. CVSS score: 9.8/10. Published 2017-10-05.
How severe is CVE-2017-1000116?
Critical severity. CVSS v3 base score is 9.8 out of 10.