RedHat: RHSA-2016-0706:01 Important: mercurial security update
Summary
Mercurial is a fast, lightweight source control management system designed
for efficient handling of very large distributed projects.
Security Fix(es):
* It was discovered that Mercurial failed to properly check Git
sub-repository URLs. A Mercurial repository that includes a Git
sub-repository with a specially crafted URL could cause Mercurial to
execute arbitrary code. (CVE-2016-3068)
* It was discovered that the Mercurial convert extension failed to sanitize
special characters in Git repository names. A Git repository with a
specially crafted name could cause Mercurial to execute arbitrary code when
the Git repository was converted to a Mercurial repository. (CVE-2016-3069)
Red Hat would like to thank Blake Burkhart for reporting these issues.
Summary
Solution
For details on how to apply this update, which includes the changes
described in this advisory, refer to:
https://access.redhat.com/articles/11258
References
https://access.redhat.com/security/cve/CVE-2016-3068 https://access.redhat.com/security/cve/CVE-2016-3069 https://access.redhat.com/security/updates/classification/#important
Package List
Red Hat Enterprise Linux Client Optional (v. 7):
Source:
mercurial-2.6.2-6.el7_2.src.rpm
x86_64:
emacs-mercurial-2.6.2-6.el7_2.x86_64.rpm
emacs-mercurial-el-2.6.2-6.el7_2.x86_64.rpm
mercurial-2.6.2-6.el7_2.x86_64.rpm
mercurial-debuginfo-2.6.2-6.el7_2.x86_64.rpm
mercurial-hgk-2.6.2-6.el7_2.x86_64.rpm
Red Hat Enterprise Linux ComputeNode Optional (v. 7):
Source:
mercurial-2.6.2-6.el7_2.src.rpm
x86_64:
emacs-mercurial-2.6.2-6.el7_2.x86_64.rpm
emacs-mercurial-el-2.6.2-6.el7_2.x86_64.rpm
mercurial-2.6.2-6.el7_2.x86_64.rpm
mercurial-debuginfo-2.6.2-6.el7_2.x86_64.rpm
mercurial-hgk-2.6.2-6.el7_2.x86_64.rpm
Red Hat Enterprise Linux Server (v. 7):
Source:
mercurial-2.6.2-6.el7_2.src.rpm
ppc64:
mercurial-2.6.2-6.el7_2.ppc64.rpm
mercurial-debuginfo-2.6.2-6.el7_2.ppc64.rpm
ppc64le:
mercurial-2.6.2-6.el7_2.ppc64le.rpm
mercurial-debuginfo-2.6.2-6.el7_2.ppc64le.rpm
s390x:
mercurial-2.6.2-6.el7_2.s390x.rpm
mercurial-debuginfo-2.6.2-6.el7_2.s390x.rpm
x86_64:
mercurial-2.6.2-6.el7_2.x86_64.rpm
mercurial-debuginfo-2.6.2-6.el7_2.x86_64.rpm
Red Hat Enterprise Linux Server Optional (v. 7):
ppc64:
emacs-mercurial-2.6.2-6.el7_2.ppc64.rpm
emacs-mercurial-el-2.6.2-6.el7_2.ppc64.rpm
mercurial-debuginfo-2.6.2-6.el7_2.ppc64.rpm
mercurial-hgk-2.6.2-6.el7_2.ppc64.rpm
ppc64le:
emacs-mercurial-2.6.2-6.el7_2.ppc64le.rpm
emacs-mercurial-el-2.6.2-6.el7_2.ppc64le.rpm
mercurial-debuginfo-2.6.2-6.el7_2.ppc64le.rpm
mercurial-hgk-2.6.2-6.el7_2.ppc64le.rpm
s390x:
emacs-mercurial-2.6.2-6.el7_2.s390x.rpm
emacs-mercurial-el-2.6.2-6.el7_2.s390x.rpm
mercurial-debuginfo-2.6.2-6.el7_2.s390x.rpm
mercurial-hgk-2.6.2-6.el7_2.s390x.rpm
x86_64:
emacs-mercurial-2.6.2-6.el7_2.x86_64.rpm
emacs-mercurial-el-2.6.2-6.el7_2.x86_64.rpm
mercurial-debuginfo-2.6.2-6.el7_2.x86_64.rpm
mercurial-hgk-2.6.2-6.el7_2.x86_64.rpm
Red Hat Enterprise Linux Workstation (v. 7):
Source:
mercurial-2.6.2-6.el7_2.src.rpm
x86_64:
mercurial-2.6.2-6.el7_2.x86_64.rpm
mercurial-debuginfo-2.6.2-6.el7_2.x86_64.rpm
Red Hat Enterprise Linux Workstation Optional (v. 7):
x86_64:
emacs-mercurial-2.6.2-6.el7_2.x86_64.rpm
emacs-mercurial-el-2.6.2-6.el7_2.x86_64.rpm
mercurial-debuginfo-2.6.2-6.el7_2.x86_64.rpm
mercurial-hgk-2.6.2-6.el7_2.x86_64.rpm
These packages are GPG signed by Red Hat for security. Our key and
details on how to verify the signature are available from
https://access.redhat.com/security/team/key/
Topic
An update for mercurial is now available for Red Hat Enterprise Linux 7.Red Hat Product Security has rated this update as having a security impactof Important. A Common Vulnerability Scoring System (CVSS) base score,which gives a detailed severity rating, is available for each vulnerabilityfrom the CVE link(s) in the References section.
Topic
Relevant Releases Architectures
Red Hat Enterprise Linux Client Optional (v. 7) - x86_64
Red Hat Enterprise Linux ComputeNode Optional (v. 7) - x86_64
Red Hat Enterprise Linux Server (v. 7) - ppc64, ppc64le, s390x, x86_64
Red Hat Enterprise Linux Server Optional (v. 7) - ppc64, ppc64le, s390x, x86_64
Red Hat Enterprise Linux Workstation (v. 7) - x86_64
Red Hat Enterprise Linux Workstation Optional (v. 7) - x86_64
Bugs Fixed
1319768 - CVE-2016-3068 mercurial: command injection via git subrepository urls
1320155 - CVE-2016-3069 mercurial: convert extension command injection via git repository names