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

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

                               ESB-2015.2870
                   Low: grep security and bug fix update
                             20 November 2015

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

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

Product:           grep
Publisher:         Red Hat
Operating System:  Red Hat Enterprise Linux Server 7
                   Red Hat Enterprise Linux WS/Desktop 7
Impact/Access:     Access Privileged Data -- Remote with User Interaction
                   Denial of Service      -- Remote with User Interaction
Resolution:        Patch/Upgrade
CVE Names:         CVE-2015-1345  

Reference:         ESB-2015.1924

Original Bulletin: 
   https://rhn.redhat.com/errata/RHSA-2015-2111.html

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

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

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

Synopsis:          Low: grep security and bug fix update
Advisory ID:       RHSA-2015:2111-07
Product:           Red Hat Enterprise Linux
Advisory URL:      https://rhn.redhat.com/errata/RHSA-2015-2111.html
Issue date:        2015-11-19
CVE Names:         CVE-2015-1345 
=====================================================================

1. Summary:

Updated grep packages that fix one security issue and several bugs are now
available for Red Hat Enterprise Linux 7.

Red Hat Product Security has rated this update as having Low security
impact. A Common Vulnerability Scoring System (CVSS) base score, which
gives a detailed severity rating, is available from the CVE link in the
References section.

2. Relevant releases/architectures:

Red Hat Enterprise Linux Client (v. 7) - x86_64
Red Hat Enterprise Linux ComputeNode (v. 7) - x86_64
Red Hat Enterprise Linux Server (v. 7) - aarch64, ppc64, ppc64le, s390x, x86_64
Red Hat Enterprise Linux Workstation (v. 7) - x86_64

3. Description:

The grep utility searches through textual input for lines that contain a
match to a specified pattern and then prints the matching lines. The GNU
grep utilities include grep, egrep, and fgrep.

A heap-based buffer overflow flaw was found in the way grep processed
certain pattern and text combinations. An attacker able to trick a user
into running grep on specially crafted input could use this flaw to crash
grep or, potentially, read from uninitialized memory. (CVE-2015-1345)

This update also fixes the following bugs:

* Prior to this update, the \w and \W symbols were inconsistently matched
to the [:alnum:] character class. Consequently, using regular expressions
with "\w" and "\W" could lead to incorrect results. With this update, "\w"
is consistently matched to the [_[:alnum:]] character, and "\W" is
consistently matched to the [^_[:alnum:]] character. (BZ#1159012)

* Previously, the Perl Compatible Regular Expression (PCRE) matcher
(selected by the "-P" parameter in grep) did not work correctly when
matching non-UTF-8 text in UTF-8 locales. Consequently, an error message
about invalid UTF-8 byte sequence characters was returned. To fix this bug,
patches from upstream have been applied to the grep utility. As a result,
PCRE now skips non-UTF-8 characters as non-matching text without returning
any error message. (BZ#1217080)

All grep users are advised to upgrade to these updated packages, which
contain backported patches to correct these issues.

4. Solution:

Before applying this update, make sure all previously released errata
relevant to your system have been applied.

For details on how to apply this update, refer to:

https://access.redhat.com/articles/11258

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

1103259 - undocumented option --fixed-regexp
1159012 - inconsistent \w and [[:alnum:]] behaviour
1183651 - CVE-2015-1345 grep: heap buffer overrun

6. Package List:

Red Hat Enterprise Linux Client (v. 7):

Source:
grep-2.20-2.el7.src.rpm

x86_64:
grep-2.20-2.el7.x86_64.rpm
grep-debuginfo-2.20-2.el7.x86_64.rpm

Red Hat Enterprise Linux ComputeNode (v. 7):

Source:
grep-2.20-2.el7.src.rpm

x86_64:
grep-2.20-2.el7.x86_64.rpm
grep-debuginfo-2.20-2.el7.x86_64.rpm

Red Hat Enterprise Linux Server (v. 7):

Source:
grep-2.20-2.el7.src.rpm

aarch64:
grep-2.20-2.el7.aarch64.rpm
grep-debuginfo-2.20-2.el7.aarch64.rpm

ppc64:
grep-2.20-2.el7.ppc64.rpm
grep-debuginfo-2.20-2.el7.ppc64.rpm

ppc64le:
grep-2.20-2.el7.ppc64le.rpm
grep-debuginfo-2.20-2.el7.ppc64le.rpm

s390x:
grep-2.20-2.el7.s390x.rpm
grep-debuginfo-2.20-2.el7.s390x.rpm

x86_64:
grep-2.20-2.el7.x86_64.rpm
grep-debuginfo-2.20-2.el7.x86_64.rpm

Red Hat Enterprise Linux Workstation (v. 7):

Source:
grep-2.20-2.el7.src.rpm

x86_64:
grep-2.20-2.el7.x86_64.rpm
grep-debuginfo-2.20-2.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-2015-1345
https://access.redhat.com/security/updates/classification/#low

8. Contact:

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

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

iD8DBQFWTj/oXlSAg2UNWIIRAmLoAKCzSmXX5ktdOLkFscvLrEzhCHDCOQCgwAba
21ij1MSsoc5FnUPC9/HCHJg=
=Luf+
- -----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

iQIVAwUBVk6e+36ZAP0PgtI9AQLQ2Q/+MlNYios8tTVlscMZbcnKiXnIt6VWsJfc
3SdZMrUi9a1pC8kU54NZzRJIgh3W22YH5nBg9Usk4NSL5E8sx6n3E3MT9+VZ8E24
a3k3t/OyRx7NScQ7J57Mz8Lks4J+NnnsYBc3aHrilSlPkF+AfQ2IU6rpYh7FYgRo
aesnBLGtkrnh8gq/ndyDmgJTF5lYCDIdl3AwdrwEaa8uZ+UP3CMPWimOTE0nG+T9
x7Ty53XuRlOK4C3DvdG2Q+L1q6thJ3xC9vQIWjixgFgMTfifOFfhpZhqQ4vf/cTB
vPM07jujEj7gwmLjJJCUJ6YclZyK6I9Yxpvl/njjDB6stoQDC0JtZakClo00ar2g
cam3oDD+7qemawiC4KeZbPYn28uFD76YkzToPrgJAsjogD8ZwbD5ryCOasvig7by
Fm3i8IX97mGOgkOcvrQubj6pRzCKtkZ/DegvwaHQGfAwqLx9jK/j39i954F+2QWh
52ltPLDHTcE/mC0ciS3luihmwxBzRj8g4BvWbdoENbEJ6q9eL2PaaGVOYBHBrl3S
C61MmCF0JzAFe06AiRPtdJp8yVAHqvAR4H2phQ2Tu6J8U20vBYqXmqV3+UCbl0Gk
WYk9jdksYHDSKCliHhsjna2U0ZcPVvEjXq0DhTJUuqeFtCwbUxza5c9ewscJGBme
s0A2VJCWrh4=
=EdHY
-----END PGP SIGNATURE-----