ESB-2017.1895 - [RedHat] bash: Multiple vulnerabilities 2017-08-02

Printable version
PGP/GPG verifiable version

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

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

                               ESB-2017.1895
                Moderate: bash security and bug fix update
                               2 August 2017

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

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

Product:           bash
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-2016-9401 CVE-2016-7543 CVE-2016-0634

Reference:         ESB-2017.1270
                   ESB-2017.0755
                   ESB-2017.0392

Original Bulletin: 
   https://access.redhat.com/errata/RHSA-2017:1931

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

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

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

Synopsis:          Moderate: bash security and bug fix update
Advisory ID:       RHSA-2017:1931-01
Product:           Red Hat Enterprise Linux
Advisory URL:      https://access.redhat.com/errata/RHSA-2017:1931
Issue date:        2017-08-01
CVE Names:         CVE-2016-0634 CVE-2016-7543 CVE-2016-9401 
=====================================================================

1. Summary:

An update for bash 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) - aarch64, ppc64, ppc64le, s390x, x86_64
Red Hat Enterprise Linux Server Optional (v. 7) - aarch64, 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:

The bash packages provide Bash (Bourne-again shell), which is the default
shell for Red Hat Enterprise Linux.

Security Fix(es):

* An arbitrary command injection flaw was found in the way bash processed
the hostname value. A malicious DHCP server could use this flaw to execute
arbitrary commands on the DHCP client machines running bash under specific
circumstances. (CVE-2016-0634)

* An arbitrary command injection flaw was found in the way bash processed
the SHELLOPTS and PS4 environment variables. A local, authenticated
attacker could use this flaw to exploit poorly written setuid programs to
elevate their privileges under certain circumstances. (CVE-2016-7543)

* A denial of service flaw was found in the way bash handled popd commands.
A poorly written shell script could cause bash to crash resulting in a
local denial of service limited to a specific bash session. (CVE-2016-9401)

Additional Changes:

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

1264101 - memleaks
1267478 - cd: -e: invalid option
1372806 - bash stack smash due to longjmp back to wait_builtin after it returned
1377496 - command "cat < <(cat)" doesn't end with EOF, CTRL+C terminates the whole shell
1377613 - CVE-2016-0634 bash: Arbitrary code execution via malicious hostname
1379630 - CVE-2016-7543 bash: Specially crafted SHELLOPTS+PS4 variables allows command substitution
1396383 - CVE-2016-9401 bash: popd controlled free

6. Package List:

Red Hat Enterprise Linux Client (v. 7):

Source:
bash-4.2.46-28.el7.src.rpm

x86_64:
bash-4.2.46-28.el7.x86_64.rpm
bash-debuginfo-4.2.46-28.el7.x86_64.rpm

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

x86_64:
bash-debuginfo-4.2.46-28.el7.x86_64.rpm
bash-doc-4.2.46-28.el7.x86_64.rpm

Red Hat Enterprise Linux ComputeNode (v. 7):

Source:
bash-4.2.46-28.el7.src.rpm

x86_64:
bash-4.2.46-28.el7.x86_64.rpm
bash-debuginfo-4.2.46-28.el7.x86_64.rpm

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

x86_64:
bash-debuginfo-4.2.46-28.el7.x86_64.rpm
bash-doc-4.2.46-28.el7.x86_64.rpm

Red Hat Enterprise Linux Server (v. 7):

Source:
bash-4.2.46-28.el7.src.rpm

aarch64:
bash-4.2.46-28.el7.aarch64.rpm
bash-debuginfo-4.2.46-28.el7.aarch64.rpm

ppc64:
bash-4.2.46-28.el7.ppc64.rpm
bash-debuginfo-4.2.46-28.el7.ppc64.rpm

ppc64le:
bash-4.2.46-28.el7.ppc64le.rpm
bash-debuginfo-4.2.46-28.el7.ppc64le.rpm

s390x:
bash-4.2.46-28.el7.s390x.rpm
bash-debuginfo-4.2.46-28.el7.s390x.rpm

x86_64:
bash-4.2.46-28.el7.x86_64.rpm
bash-debuginfo-4.2.46-28.el7.x86_64.rpm

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

aarch64:
bash-debuginfo-4.2.46-28.el7.aarch64.rpm
bash-doc-4.2.46-28.el7.aarch64.rpm

ppc64:
bash-debuginfo-4.2.46-28.el7.ppc64.rpm
bash-doc-4.2.46-28.el7.ppc64.rpm

ppc64le:
bash-debuginfo-4.2.46-28.el7.ppc64le.rpm
bash-doc-4.2.46-28.el7.ppc64le.rpm

s390x:
bash-debuginfo-4.2.46-28.el7.s390x.rpm
bash-doc-4.2.46-28.el7.s390x.rpm

x86_64:
bash-debuginfo-4.2.46-28.el7.x86_64.rpm
bash-doc-4.2.46-28.el7.x86_64.rpm

Red Hat Enterprise Linux Workstation (v. 7):

Source:
bash-4.2.46-28.el7.src.rpm

x86_64:
bash-4.2.46-28.el7.x86_64.rpm
bash-debuginfo-4.2.46-28.el7.x86_64.rpm

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

x86_64:
bash-debuginfo-4.2.46-28.el7.x86_64.rpm
bash-doc-4.2.46-28.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-2016-0634
https://access.redhat.com/security/cve/CVE-2016-7543
https://access.redhat.com/security/cve/CVE-2016-9401
https://access.redhat.com/security/updates/classification/#moderate
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/7.4_Release_Notes/index.html

8. Contact:

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

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

iD8DBQFZgOZfXlSAg2UNWIIRAtvlAKCKtbdGhEjNwOvt1G4Ic7RMbbxbswCcC5Xh
lpxqfUZuv5N/xZC6mD2nWgc=
=IFay
- -----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

iQIVAwUBWYFUgox+lLeg9Ub1AQiWAw/+OpioXcZ9KeWkewz0eX7mJYZD+aZdtlZH
kh/Of4IYuHjWn5VoLYMMXUH/t+/zkw8TMaDf4Hg4YFUlEbIQOVHueBNeGPDeT1kd
ATkq5gwMjWl+/gkK6D3EGMfpnwpKVLpXfTsQ7e3jJbS9WrNVWrsKW+8iE06Dcm8S
ltrMgtE7zcbMQ4bhF1VKSceKn4m0EPbuSuRroiIJOuj5rouvvcosuVTBCJWciMCt
2dVEJYtjVxqahDztzU0r1cD/b2dbUHjYkK8HPZ8DqJ/OW+NF6t0AJJtIy+nlfwvM
JfFqTMn0fOObuFnuWZ6cCTuu17V5sonV1HHN82XzTT08CmWJ9KIWglS4xzM1fUbC
G1QMmwS5pS1jbo3sL9GoQTHKtYbfgFmVYaMlRfjJtwztYVfzWGTPFcpGiYHUNFyY
u7gSm0/TeYxO6OQ90CZl+UM/oLqpIrtrzI13fpKL+A2Yjvwi7TBL8w3zYsVwfXna
BTiVzvjPJjFd8TZDAIARK74EX8QaacJE2EsOAeceWnm9xsa95aD70vfaPA5U5ZBC
/ndgibPk13tyJKqeBypGMfPBns1DnuO31VboAnBFbtW7U651WVFHWErDdZCZP6N6
ySRv39dWHDO2gAAUfWEvXikWGW5GVL7k+VlIKTmMsVE7sSnimteaG5OJ9R/pQ1mE
fIRbPmmRLgA=
=CWQ7
-----END PGP SIGNATURE-----

« Back to bulletins