Overly broad permissions can turn one compromised account into a much larger security problem. Learn how to reduce unnecessary access, review privileges, and apply least privilege across modern Linux systems. Review Linux Privileges×

Alerts This Week
Warning Icon 1 524
Alerts This Week
Warning Icon 1 524

Red Hat Enterprise Linux 7: RHSA-2016:0706-01 Update on Mercurial Security

red hat
Calendar Grey May 2, 2016
Scroller Redhat
The latest update for Red Hat Enterprise Linux 7 resolves mercurial security vulnerabilities, minimizing code execution risks.
An update for mercurial is now available for Red Hat Enterprise Linux 7

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

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.

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:

Read the Full Advisory


Severity
important
Lowest
Low
Medium
High
Critical

Advisory ID: RHSA-2016:0706-01
Product: Red Hat Enterprise Linux
Issue date: 2016-05-02

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.

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

Get the latest News and Insights

Get the latest Linux and open source security news straight to your inbox.