Hash: SHA256

Package        : mercurial
Version        : 2.2.2-4+deb7u5
CVE ID         : CVE-2017-1000115 CVE-2017-1000116
Debian Bug     : 871709 871710

Two significant vulnerabilities were found in the Mercurial version
control system which could lead to shell injection attacks and
out-of-tree file overwrite.

CVE-2017-1000115

    Mercurial's symlink auditing was incomplete prior to 4.3, and
    could be abused to write to files outside the repository.

CVE-2017-1000116

    Mercurial was not sanitizing hostnames passed to ssh, allowing
    shell injection attacks on clients by specifying a hostname
    starting with -oProxyCommand. This vulnerability is similar to
    those in Git (CVE-2017-1000117) and Subversion (CVE-2017-9800).

For Debian 7 "Wheezy", these problems have been fixed in version
2.2.2-4+deb7u5.

We recommend that you upgrade your mercurial packages.

Further information about Debian LTS security advisories, how to apply
these updates to your system and frequently asked questions can be
found at: https://wiki.debian.org/LTS

Debian LTS: DLA-1072-1: mercurial security update

August 31, 2017
Two significant vulnerabilities were found in the Mercurial version control system which could lead to shell injection attacks and out-of-tree file overwrite

Summary

CVE-2017-1000115

Mercurial's symlink auditing was incomplete prior to 4.3, and
could be abused to write to files outside the repository.

CVE-2017-1000116

Mercurial was not sanitizing hostnames passed to ssh, allowing
shell injection attacks on clients by specifying a hostname
starting with -oProxyCommand. This vulnerability is similar to
those in Git (CVE-2017-1000117) and Subversion (CVE-2017-9800).

For Debian 7 "Wheezy", these problems have been fixed in version
2.2.2-4+deb7u5.

We recommend that you upgrade your mercurial packages.

Further information about Debian LTS security advisories, how to apply
these updates to your system and frequently asked questions can be
found at: https://wiki.debian.org/LTS


Severity
Package : mercurial
Version : 2.2.2-4+deb7u5
CVE ID : CVE-2017-1000115 CVE-2017-1000116
Debian Bug : 871709 871710

Related News