ESB-2018.3383 - [RedHat] zsh: Multiple vulnerabilities 2018-10-31

Printable version
PGP/GPG verifiable version

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

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

                               ESB-2018.3383
                 Moderate: zsh security and bug fix update
                              31 October 2018

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

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

Product:           zsh
Publisher:         Red Hat
Operating System:  Red Hat Enterprise Linux Server 7
                   Red Hat Enterprise Linux WS/Desktop 7
Impact/Access:     Execute Arbitrary Code/Commands -- Existing Account
                   Increased Privileges            -- Existing Account
                   Denial of Service               -- Existing Account
Resolution:        Patch/Upgrade
CVE Names:         CVE-2018-7549 CVE-2018-1100 CVE-2018-1083
                   CVE-2018-1071 CVE-2017-18206 CVE-2017-18205
                   CVE-2014-10072 CVE-2014-10071 

Reference:         ESB-2018.2718
                   ESB-2018.1803
                   ESB-2018.1275
                   ESB-2018.0950
                   ESB-2018.0691
                   ESB-2018.0934.2

Original Bulletin: 
   https://access.redhat.com/errata/RHSA-2018:3073

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

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

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

Synopsis:          Moderate: zsh security and bug fix update
Advisory ID:       RHSA-2018:3073-01
Product:           Red Hat Enterprise Linux
Advisory URL:      https://access.redhat.com/errata/RHSA-2018:3073
Issue date:        2018-10-30
CVE Names:         CVE-2014-10071 CVE-2014-10072 CVE-2017-18205 
                   CVE-2017-18206 CVE-2018-1071 CVE-2018-1083 
                   CVE-2018-1100 CVE-2018-7549 
=====================================================================

1. Summary:

An update for zsh 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 (v. 7) - x86_64
Red Hat Enterprise Linux Client Optional (v. 7) - x86_64
Red Hat Enterprise Linux ComputeNode (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
Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server (v. 7) - aarch64, ppc64le, s390x
Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server Optional (v. 7) - aarch64, ppc64le, s390x

3. Description:

The zsh shell is a command interpreter usable as an interactive login shell
and as a shell script command processor. Zsh resembles the ksh shell (the
Korn shell), but includes many enhancements. Zsh supports command-line
editing, built-in spelling correction, programmable command completion,
shell functions (with autoloading), a history mechanism, and more.

Security Fix(es):

* zsh: Stack-based buffer overflow in gen_matches_files() at compctl.c
(CVE-2018-1083)

* zsh: buffer overflow for very long fds in >& fd syntax (CVE-2014-10071)

* zsh: buffer overflow when scanning very long directory paths for symbolic
links (CVE-2014-10072)

* zsh: NULL dereference in cd in sh compatibility mode under given
circumstances (CVE-2017-18205)

* zsh: buffer overrun in symlinks (CVE-2017-18206)

* zsh: Stack-based buffer overflow in exec.c:hashcmd() (CVE-2018-1071)

* zsh: buffer overflow in utils.c:checkmailpath() can lead to local
arbitrary code execution (CVE-2018-1100)

* zsh: crash on copying empty hash table (CVE-2018-7549)

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

The CVE-2018-1083, CVE-2018-1071, and CVE-2018-1100 issues were discovered
by Richard Maciel Costa (Red Hat).

Additional Changes:

For detailed information on changes in this release, see the Red Hat
Enterprise Linux 7.6 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/):

1549836 - CVE-2014-10072 zsh: buffer overflow when scanning very long directory paths for symbolic links
1549855 - CVE-2014-10071 zsh: buffer overflow for very long fds in >& fd syntax
1549858 - CVE-2018-7549 zsh: crash on copying empty hash table
1549861 - CVE-2017-18206 zsh: buffer overrun in symlinks
1549862 - CVE-2017-18205 zsh: NULL dereference in cd in sh compatibility mode under given circumstances
1553531 - CVE-2018-1071 zsh: Stack-based buffer overflow in exec.c:hashcmd()
1557382 - CVE-2018-1083 zsh: Stack-based buffer overflow in gen_matches_files() at compctl.c
1563395 - CVE-2018-1100 zsh: buffer overflow in utils.c:checkmailpath() can lead to local arbitrary code execution

6. Package List:

Red Hat Enterprise Linux Client (v. 7):

Source:
zsh-5.0.2-31.el7.src.rpm

x86_64:
zsh-5.0.2-31.el7.x86_64.rpm
zsh-debuginfo-5.0.2-31.el7.x86_64.rpm

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

x86_64:
zsh-debuginfo-5.0.2-31.el7.x86_64.rpm
zsh-html-5.0.2-31.el7.x86_64.rpm

Red Hat Enterprise Linux ComputeNode (v. 7):

Source:
zsh-5.0.2-31.el7.src.rpm

x86_64:
zsh-5.0.2-31.el7.x86_64.rpm
zsh-debuginfo-5.0.2-31.el7.x86_64.rpm

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

x86_64:
zsh-debuginfo-5.0.2-31.el7.x86_64.rpm
zsh-html-5.0.2-31.el7.x86_64.rpm

Red Hat Enterprise Linux Server (v. 7):

Source:
zsh-5.0.2-31.el7.src.rpm

ppc64:
zsh-5.0.2-31.el7.ppc64.rpm
zsh-debuginfo-5.0.2-31.el7.ppc64.rpm

ppc64le:
zsh-5.0.2-31.el7.ppc64le.rpm
zsh-debuginfo-5.0.2-31.el7.ppc64le.rpm

s390x:
zsh-5.0.2-31.el7.s390x.rpm
zsh-debuginfo-5.0.2-31.el7.s390x.rpm

x86_64:
zsh-5.0.2-31.el7.x86_64.rpm
zsh-debuginfo-5.0.2-31.el7.x86_64.rpm

Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server (v. 7):

Source:
zsh-5.0.2-31.el7.src.rpm

aarch64:
zsh-5.0.2-31.el7.aarch64.rpm
zsh-debuginfo-5.0.2-31.el7.aarch64.rpm

ppc64le:
zsh-5.0.2-31.el7.ppc64le.rpm
zsh-debuginfo-5.0.2-31.el7.ppc64le.rpm

s390x:
zsh-5.0.2-31.el7.s390x.rpm
zsh-debuginfo-5.0.2-31.el7.s390x.rpm

Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server Optional (v. 7):

aarch64:
zsh-debuginfo-5.0.2-31.el7.aarch64.rpm
zsh-html-5.0.2-31.el7.aarch64.rpm

ppc64le:
zsh-debuginfo-5.0.2-31.el7.ppc64le.rpm
zsh-html-5.0.2-31.el7.ppc64le.rpm

s390x:
zsh-debuginfo-5.0.2-31.el7.s390x.rpm
zsh-html-5.0.2-31.el7.s390x.rpm

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

ppc64:
zsh-debuginfo-5.0.2-31.el7.ppc64.rpm
zsh-html-5.0.2-31.el7.ppc64.rpm

ppc64le:
zsh-debuginfo-5.0.2-31.el7.ppc64le.rpm
zsh-html-5.0.2-31.el7.ppc64le.rpm

s390x:
zsh-debuginfo-5.0.2-31.el7.s390x.rpm
zsh-html-5.0.2-31.el7.s390x.rpm

x86_64:
zsh-debuginfo-5.0.2-31.el7.x86_64.rpm
zsh-html-5.0.2-31.el7.x86_64.rpm

Red Hat Enterprise Linux Workstation (v. 7):

Source:
zsh-5.0.2-31.el7.src.rpm

x86_64:
zsh-5.0.2-31.el7.x86_64.rpm
zsh-debuginfo-5.0.2-31.el7.x86_64.rpm

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

x86_64:
zsh-debuginfo-5.0.2-31.el7.x86_64.rpm
zsh-html-5.0.2-31.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-2014-10071
https://access.redhat.com/security/cve/CVE-2014-10072
https://access.redhat.com/security/cve/CVE-2017-18205
https://access.redhat.com/security/cve/CVE-2017-18206
https://access.redhat.com/security/cve/CVE-2018-1071
https://access.redhat.com/security/cve/CVE-2018-1083
https://access.redhat.com/security/cve/CVE-2018-1100
https://access.redhat.com/security/cve/CVE-2018-7549
https://access.redhat.com/security/updates/classification/#moderate
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/7.6_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 2018 Red Hat, Inc.
- -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIVAwUBW9gQX9zjgjWX9erEAQh1qA/8CMRBCVsTdrIazIusStWGh4y0f/MvKgXt
N482h1RZXn6wuYuWhmDp74nCloTuxyhwoztV7kuchtrouGJK8dmnM/xlQQflSmG5
5dsIIZdGhs0BfIUHRTeUYGrNlPxe12eOHW3n9vjLjMUIscaAa9EnFVowISKTJnK0
MtK3h9pZRGDIvFuxtMBhPD67UPuv99b/fNXhbTFu4eXYuH2YOsiG9/Dj8OvA1GLe
FGRE+8HI5o9zxPVt7MV69kpyd8NeiHLxybt2ERTz7eDtXXdbu8+o2o2ZuKqN4H6N
/WMG1L3aPPqQ8wVex6lbYZUknPL3LOFYIWMvmkFD3vLGcG2W4ZlaU4j9B7WlgfXd
7GLfrTWfxS3/rz65w5xNOVfAKaXZ12K3Yy0U/ugnyNxqx/mDzcs6HfBiC8ztdwEB
XDvhgtTFoyAoLEVkJSM5JczT+gxgnKv/NhQbL5VP7j+dXa5DI7teHhIsAr8WneXu
6P5fMuuFuWSgxoQiJQ/LeP1T+yl6JcQqU0gweCWpWM/9GqftQtNuTYGAkF5QOvqJ
pFBeLujL55DD029NYgAlFEbrx4pthbnqHuWjAldPt90ObWVJ3VbTZ7ljoxfa6gGk
uAL/Ox+JsXbYCNNRvrS/UDVctE3099lLvJTbgOLKiv39MxVTLdrsgeBKQoLNBqzH
yhXa6A/3UUU=
=dOMJ
- -----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

iQIVAwUBW9kq/GaOgq3Tt24GAQhHYhAAktJiZ7rw0/AI91qV8xkLrxUiW+e0uHU8
nst2fSrIXIenv6Hn0NphvxJbpr8+eUlcPY2OW4UExnyqGQZeJR5+PTHE4l+afxB+
h3HVdXe3xDUmiZJqkKBu767h+14mWX0vngalUw6Ez4jrzxKKxbYXTxVgTO6exPpE
gjSIJk3epNM8m40Tq7AkiBhX45zUKQsrsgaatczv/D9OqHWQWTLRCn1kwJfRMGVS
FY4vRXPVF5baPk6I7Y6Neccf95tHRCGC3oCrTsx7fbKMap5zVD+JhRFfAC6LWLYi
DZ6je59j2e4sR5a6r50LFmyH4kBuaIHiEv3HDOMHwEb1Ow+SNOJBN4ODmsSuNmLf
zQIEOQ31TQW9XszCWwfDv9EZvWVpn44sB3vN0fiJBawEhu8vRvRLO2D9sTbJKUIB
hj7aGTiBKWXsF21d5wcqOSOYeL0PoWTnR9wTvTwp8fQg/XAaiC3UvcH0XXpkmzKq
fu/81jcMGEHTF8wtf8CKFSwsJRRIl7BtQtvAnZ1cgi+iBHG9GvRHZIunQiFVgNf3
1qyqfpJyMo4acfD+5Q0KRRr4sM3m/CIjTfSLUJJO6AJWNt+yiEKawhPPZ6YxwYTx
PsqoiCPJ4LHupY3B9RWYejJJ8XLYt0WgBI5ipvSLhVYFMS4aLfx9CCLSXzX5/b0h
J6s2NaNJeBc=
=Mtg4
-----END PGP SIGNATURE-----

« Back to bulletins