-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

===========================================================================
             AUSCERT External Security Bulletin Redistribution

                               ESB-2016.1057
                   Important: mercurial security update
                                3 May 2016

===========================================================================

        AusCERT Security Bulletin Summary
        ---------------------------------

Product:           mercurial
Publisher:         Red Hat
Operating System:  Red Hat Enterprise Linux Server 7
                   Red Hat Enterprise Linux WS/Desktop 7
Impact/Access:     Execute Arbitrary Code/Commands -- Remote with User Interaction
Resolution:        Patch/Upgrade
CVE Names:         CVE-2016-3069 CVE-2016-3068 

Reference:         ESB-2016.0860

Original Bulletin: 
   https://rhn.redhat.com/errata/RHSA-2016-0706.html

- --------------------------BEGIN INCLUDED TEXT--------------------

- -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

=====================================================================
                   Red Hat Security Advisory

Synopsis:          Important: mercurial security update
Advisory ID:       RHSA-2016:0706-01
Product:           Red Hat Enterprise Linux
Advisory URL:      https://rhn.redhat.com/errata/RHSA-2016-0706.html
Issue date:        2016-05-02
CVE Names:         CVE-2016-3068 CVE-2016-3069 
=====================================================================

1. Summary:

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 impact
of Important. A Common Vulnerability Scoring System (CVSS) base score,
which gives a detailed severity rating, is available for each vulnerability
from the CVE link(s) in the References section.

2. 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

3. Description:

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.

4. 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

5. Bugs fixed (https://bugzilla.redhat.com/):

1319768 - CVE-2016-3068 mercurial: command injection via git subrepository urls
1320155 - CVE-2016-3069 mercurial: convert extension command injection via git repository names

6. 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/

7. 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

8. Contact:

The Red Hat security contact is <secalert@redhat.com>. More contact
details at https://access.redhat.com/security/team/contact/

Copyright 2016 Red Hat, Inc.
- -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iD8DBQFXJ1lbXlSAg2UNWIIRAgnkAKCfmYBBOazfHnHmM2z26lie5IBY/QCbBwIs
MZo3DbOhi9A9aIybMw+jm0o=
=WCyY
- -----END PGP SIGNATURE-----

- --------------------------END INCLUDED TEXT--------------------

You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.

NOTE: Third Party Rights
This security bulletin is provided as a service to AusCERT's members.  As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content. The decision to follow or act on information or advice
contained in this security bulletin is the responsibility of each user or
organisation, and should be considered in accordance with your organisation's
site policies and procedures. AusCERT takes no responsibility for consequences
which may arise from following or acting on information or advice contained in
this security bulletin.

NOTE: This is only the original release of the security bulletin.  It may
not be updated when updates to the original are made.  If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the author's website to ensure that the information is still current.

Contact information for the authors of the original document is included
in the Security Bulletin above.  If you have any questions or need further
information, please contact them directly.

Previous advisories and external security bulletins can be retrieved from:

        http://www.auscert.org.au/render.html?cid=1980

===========================================================================
Australian Computer Emergency Response Team
The University of Queensland
Brisbane
Qld 4072

Internet Email: auscert@auscert.org.au
Facsimile:      (07) 3365 7031
Telephone:      (07) 3365 4417 (International: +61 7 3365 4417)
                AusCERT personnel answer during Queensland business hours
                which are GMT+10:00 (AEST).
                On call after hours for member emergencies only.
===========================================================================
-----BEGIN PGP SIGNATURE-----
Comment: http://www.auscert.org.au/render.html?it=1967

iQIVAwUBVyftj36ZAP0PgtI9AQLEbA//SAqL/1d8D47uvjL1j1/7vtnEmvR4pEoi
cJ1KtGr/dvV1qshzo663W8UTWDV6i9yJbikbiiRthNI6LkJ8LKyMZqb1JGqz6JXS
2bBlFyG77H+Tk9icNMPknsVOLuLOd//4bxdv4tJotY/JynOH3ZDdp4TCqudHhREc
KQFSgO3VFsI74Wi1DdmbeGn9qsPWk3PhF2mjuV8X36UwHAE06H3YOO3adpg/SzsE
mgw0dP+hn71PIr34rUk0dkAIiH42zZbrcZjvwS/e4KNKssG3antfFH06LAw6CJNh
qCML3IfHD76x1zBySZVbqifqlyTI7aOH+pjxmfscESLzgNxnFX5RzbKTB6mI2O66
dlm/Ormp10qtatdWLz2SJB/qrIF/lPFz5VlmORdzODBGbDVdbIjpl7SXXIctmU5A
zJKSKxyjzRMrGEqxArVZxX1C5Tmlfztw7FW5vmSP0zidmf3xKUqiWRVJLeABWNxy
oziERoXbBfeSyC1wc8/u9ei4R7oClOz1WGY+XIkbutEVg1c/+CcdqT32RXJcruDE
rTunwctzp64FXYR6ZhqxpQhv6xRA5pfplJRfPA4oACpEBpdkKexX49ey9Z15yW6N
8rnyEI1L5lr4yCW8C4djW1aMOuRJUSlWKo2PXrNM7dW3FVHudUVV0530H5AQDSnY
oqzjoo8HT4w=
=iv25
-----END PGP SIGNATURE-----