CVE-2017-1000116 Mercurial is vulnerable to shell injection attack

Critical 9.8 Published Updated
Exploited in the wild
Not known
Fix
Available

What is CVE-2017-1000116?

CVE-2017-1000116 is a critical vulnerability in Debian Debian Linux, published on 4 Oct 2017.

Official description

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

Weakness: CWE-78

Which versions are affected by CVE-2017-1000116?

3 open source packages ship an affected version, including mercurial. It affects 8 products.

PackageAffectedFixed in
mercurial PyPIAll versions4.3
mercurial PyPIAll versions4.3
mercurial PyPIAll versions4.3

Products include Debian Debian Linux, Mercurial Mercurial, Redhat Enterprise Linux Desktop, Redhat Enterprise Linux Server, Redhat Enterprise Linux Server Aus, Redhat Enterprise Linux Server Eus and 2 more.

How do I fix CVE-2017-1000116?

Upgrade mercurial to 4.3 or later.

Is CVE-2017-1000116 being exploited?

There is no known exploitation of CVE-2017-1000116 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as ALPINE-CVE-2017-1000116, DEBIAN-CVE-2017-1000116, GHSA-3qmg-c9vc-r47j, PYSEC-2017-89, UBUNTU-CVE-2017-1000116.

Is CVE-2017-1000116 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free