-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

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

                               ESB-2019.2961
                         mercurial security update
                               7 August 2019

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

        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/Unauthenticated
                   Denial of Service               -- Remote/Unauthenticated
                   Unauthorised Access             -- Remote/Unauthenticated
Resolution:        Patch/Upgrade
CVE Names:         CVE-2018-1000132 CVE-2018-13347 CVE-2018-13346

Reference:         ESB-2018.1953.2
                   ESB-2018.0946

Original Bulletin: 
   https://access.redhat.com/errata/RHSA-2019:2276

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

- -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

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

Synopsis:          Moderate: mercurial security update
Advisory ID:       RHSA-2019:2276-01
Product:           Red Hat Enterprise Linux
Advisory URL:      https://access.redhat.com/errata/RHSA-2019:2276
Issue date:        2019-08-06
CVE Names:         CVE-2018-13346 CVE-2018-13347 CVE-2018-1000132 
=====================================================================

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 Moderate. 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):

* mercurial: Buffer underflow in mpatch.c:mpatch_apply() (CVE-2018-13347)

* mercurial: HTTP server permissions bypass (CVE-2018-1000132)

* mercurial: Missing check for fragment start position in
mpatch.c:mpatch_apply() (CVE-2018-13346)

For more details about the security issue(s), including the impact, a CVSS
score, acknowledgments, and other related information, refer to the CVE
page(s) listed in the References section.

Additional Changes:

For detailed information on changes in this release, see the Red Hat
Enterprise Linux 7.7 Release Notes linked from the References section.

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/):

1553265 - CVE-2018-1000132 mercurial: HTTP server permissions bypass
1594087 - CVE-2018-13347 mercurial: Buffer underflow in mpatch.c:mpatch_apply()
1594090 - CVE-2018-13346 mercurial: Missing check for fragment start position in mpatch.c:mpatch_apply()

6. Package List:

Red Hat Enterprise Linux Client Optional (v. 7):

Source:
mercurial-2.6.2-10.el7.src.rpm

x86_64:
emacs-mercurial-2.6.2-10.el7.x86_64.rpm
emacs-mercurial-el-2.6.2-10.el7.x86_64.rpm
mercurial-2.6.2-10.el7.x86_64.rpm
mercurial-debuginfo-2.6.2-10.el7.x86_64.rpm
mercurial-hgk-2.6.2-10.el7.x86_64.rpm

Red Hat Enterprise Linux ComputeNode Optional (v. 7):

Source:
mercurial-2.6.2-10.el7.src.rpm

x86_64:
emacs-mercurial-2.6.2-10.el7.x86_64.rpm
emacs-mercurial-el-2.6.2-10.el7.x86_64.rpm
mercurial-2.6.2-10.el7.x86_64.rpm
mercurial-debuginfo-2.6.2-10.el7.x86_64.rpm
mercurial-hgk-2.6.2-10.el7.x86_64.rpm

Red Hat Enterprise Linux Server (v. 7):

Source:
mercurial-2.6.2-10.el7.src.rpm

ppc64:
mercurial-2.6.2-10.el7.ppc64.rpm
mercurial-debuginfo-2.6.2-10.el7.ppc64.rpm

ppc64le:
mercurial-2.6.2-10.el7.ppc64le.rpm
mercurial-debuginfo-2.6.2-10.el7.ppc64le.rpm

s390x:
mercurial-2.6.2-10.el7.s390x.rpm
mercurial-debuginfo-2.6.2-10.el7.s390x.rpm

x86_64:
mercurial-2.6.2-10.el7.x86_64.rpm
mercurial-debuginfo-2.6.2-10.el7.x86_64.rpm

Red Hat Enterprise Linux Server Optional (v. 7):

ppc64:
emacs-mercurial-2.6.2-10.el7.ppc64.rpm
emacs-mercurial-el-2.6.2-10.el7.ppc64.rpm
mercurial-debuginfo-2.6.2-10.el7.ppc64.rpm
mercurial-hgk-2.6.2-10.el7.ppc64.rpm

ppc64le:
emacs-mercurial-2.6.2-10.el7.ppc64le.rpm
emacs-mercurial-el-2.6.2-10.el7.ppc64le.rpm
mercurial-debuginfo-2.6.2-10.el7.ppc64le.rpm
mercurial-hgk-2.6.2-10.el7.ppc64le.rpm

s390x:
emacs-mercurial-2.6.2-10.el7.s390x.rpm
emacs-mercurial-el-2.6.2-10.el7.s390x.rpm
mercurial-debuginfo-2.6.2-10.el7.s390x.rpm
mercurial-hgk-2.6.2-10.el7.s390x.rpm

x86_64:
emacs-mercurial-2.6.2-10.el7.x86_64.rpm
emacs-mercurial-el-2.6.2-10.el7.x86_64.rpm
mercurial-debuginfo-2.6.2-10.el7.x86_64.rpm
mercurial-hgk-2.6.2-10.el7.x86_64.rpm

Red Hat Enterprise Linux Workstation (v. 7):

Source:
mercurial-2.6.2-10.el7.src.rpm

x86_64:
mercurial-2.6.2-10.el7.x86_64.rpm
mercurial-debuginfo-2.6.2-10.el7.x86_64.rpm

Red Hat Enterprise Linux Workstation Optional (v. 7):

x86_64:
emacs-mercurial-2.6.2-10.el7.x86_64.rpm
emacs-mercurial-el-2.6.2-10.el7.x86_64.rpm
mercurial-debuginfo-2.6.2-10.el7.x86_64.rpm
mercurial-hgk-2.6.2-10.el7.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-2018-13346
https://access.redhat.com/security/cve/CVE-2018-13347
https://access.redhat.com/security/cve/CVE-2018-1000132
https://access.redhat.com/security/updates/classification/#moderate
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/7.7_release_notes/index

8. Contact:

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

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

iQIVAwUBXUl3AtzjgjWX9erEAQhjhA//VTryyZIazdoGTgKosdoix5y+kVqu10IT
v6EGtfh+5uymKwfNe641fXWcYjwWqNiPpBdjB9oC5ZnKC0yxmAzB6VNPBOx80LK9
4mo4pzyknBgMFfWqVmozEO7l8e2BenKQIzeZb6MSJpHaME9cemDLNlhgKT2XthHW
sM36fbQQLuuaXFXfPLlFUksUSyenkKGKCe2+HB8aIcCsTBOfZmixD3NkkJ1Shiyx
s8kho3Ha1qo0C/AAPKOwtnUdHcq+t2YKS4vsDBVPrAKsxTQ3FgEGNhW2CMyxZZ/e
x/CL4U7PDTLnx8DvH1oTLMe49OvzzP7wm3mmsBAzOt1V90uVbvXwXHenTB0vj3wr
50HfnBCwBHlRUA0dwDuMpG6ucypl9i5aO+M605ozU7BJG/j5I66vDhdQPD4yxmOe
oYpcxY4fp9t68irhYFUEYXaYsIhD6OEG2FT0iU3OfQdejY1RHgImlacYzzR5IsQj
8cjwrgR7/sZtlhMP4U/s1ajeW26HMVIe76q4lU6bZ04VSM8/2N4ax4UZT9/uGboh
qETwscQtywLEw6Y9CYxIWqLJR2aFZnHWXcdVJaO/RjSbS4SuuzQ18jS+cJIrm1tl
eArP8gE6jRYZAn03aa9AnfIn3fYB31ta8/pLUPsfksLfsw6SP8T5rAMEtnRqrVox
5Xx7JwzLEi8=
=XUsW
- -----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:

        https://www.auscert.org.au/bulletins/

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

iQIVAwUBXUpbe2aOgq3Tt24GAQgTrQ/7BLsL3AHR2i6AwOWGzxdMg1edlxAQHteC
7XzsfYsN4MmAXkO1RthScRSxh+apxEvlf0GcpoWFj+ZMzKgHIMELM6FOm4k12fIl
OD/0kqtuCwxbUgG1eCxAO+vZE4K/ZB5vpQB4FWZxHvhXQWGwWnO/BSpu/Ru7pUeR
w2N7XXgaLnrD/Yhj5UtucX8pofLpiFyQWcZByb0VKPgy5/wDnIAOD3j5lAzJ4nyw
F2ck7PoNJuh1u9Y/uJ17fomTasMO1oy0GrlGfIniiE7HbjLXle8druFpP6e5wZDN
KGjWDjH9SQfrfin+z4Mxp6hFU3F0KtbKe+KcP81axXSFbORawwqRgObmlqw2NTeb
mGQIAsnafNc+ku7TdjkGY6dot75vyPO8aAf4EUZcsHTjoasjOeSXcJkDNQulEM96
X21zUOSMW1bE/j2QrYFr1xFayHs6pCY7ZxQ4YlTK/XG8pxZ/kEjdW86JH05cyQZk
50SYd8wsnE2bgHQzhq0YME6nrqHvmZAepXCnU33Qiyqtw54i4SRqmRst+uXayQZH
aIXxjeDU9OJ5hcDW/hLtcHEdoCQu3SjkZU8Q6kImNoe26XazRwFkQ0MFHZjPLoPU
9q06zpu6ESoIt2I9pBuTLOxhhjMRghLJUnXT98nMgzQgkeWlpiRPIHfA9Cw7fxBs
wSxoVOf2wQs=
=dZ2v
-----END PGP SIGNATURE-----