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

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

                               ESB-2019.4548
            patch security update for RHEL 7.4 AUS, E4S and TUS
                              4 December 2019

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

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

Product:           patch
Publisher:         Red Hat
Operating System:  Red Hat Enterprise Linux Server 7
Impact/Access:     Execute Arbitrary Code/Commands -- Remote with User Interaction
Resolution:        Patch/Upgrade
CVE Names:         CVE-2019-13638 CVE-2018-20969 

Reference:         ESB-2019.4162
                   ESB-2019.3720
                   ESB-2019.2791

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

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

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

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

Synopsis:          Important: patch security update
Advisory ID:       RHSA-2019:4061-01
Product:           Red Hat Enterprise Linux
Advisory URL:      https://access.redhat.com/errata/RHSA-2019:4061
Issue date:        2019-12-03
CVE Names:         CVE-2018-20969 CVE-2019-13638 
=====================================================================

1. Summary:

An update for patch is now available for Red Hat Enterprise Linux 7.4
Advanced Update Support, Red Hat Enterprise Linux 7.4 Telco Extended Update
Support, and Red Hat Enterprise Linux 7.4 Update Services for SAP
Solutions.

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 Server AUS (v. 7.4) - x86_64
Red Hat Enterprise Linux Server E4S (v. 7.4) - ppc64le, x86_64
Red Hat Enterprise Linux Server TUS (v. 7.4) - x86_64

3. Description:

The patch program applies diff files to originals. The diff command is used
to compare an original to a changed file. Diff lists the changes made to
the file. A person who has the original file can then use the patch command
with the diff file to add the changes to their original file (patching the
file).

Security Fix(es):

* patch: do_ed_script in pch.c does not block strings beginning with a !
character (CVE-2018-20969)

* patch: OS shell command injection when processing crafted patch files
(CVE-2019-13638)

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.

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

1733916 - CVE-2019-13638 patch: OS shell command injection when processing crafted patch files
1746672 - CVE-2018-20969 patch: do_ed_script in pch.c does not block strings beginning with a ! character

6. Package List:

Red Hat Enterprise Linux Server AUS (v. 7.4):

Source:
patch-2.7.1-11.el7_4.src.rpm

x86_64:
patch-2.7.1-11.el7_4.x86_64.rpm
patch-debuginfo-2.7.1-11.el7_4.x86_64.rpm

Red Hat Enterprise Linux Server E4S (v. 7.4):

Source:
patch-2.7.1-11.el7_4.src.rpm

ppc64le:
patch-2.7.1-11.el7_4.ppc64le.rpm
patch-debuginfo-2.7.1-11.el7_4.ppc64le.rpm

x86_64:
patch-2.7.1-11.el7_4.x86_64.rpm
patch-debuginfo-2.7.1-11.el7_4.x86_64.rpm

Red Hat Enterprise Linux Server TUS (v. 7.4):

Source:
patch-2.7.1-11.el7_4.src.rpm

x86_64:
patch-2.7.1-11.el7_4.x86_64.rpm
patch-debuginfo-2.7.1-11.el7_4.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-20969
https://access.redhat.com/security/cve/CVE-2019-13638
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 2019 Red Hat, Inc.
- -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIVAwUBXeZAr9zjgjWX9erEAQgSaQ/8DXzTEBiK5ZCnStrk5o83Jr7tuw2TbL0x
L7ogrKW+6OK+9ca7pFAC7bMhZKIKoB00qDmwat2al08EJzBJUPdY08Ot7r6mYKI6
5UlNgET1Vjs4PIcXwqWtE2a2fr08eZ+S4zzuByDO6msGDzF6hk4r6FxpqdzWX/n2
IA1Nr1MefLRpMCHWWqS7NmXYJx0FDDhd1l7KTZB3YchIBV7E4x20Gzfp6jBx2cjS
m0cStOO0WXjdMMPIcR1pLkxrzMVbsIcZV/HAxnaOkwadDfNgoeA/3fzHimiV9bk7
6G3MUTqAlJB4fz7oHlNnD1d6prfKpMhpZND4zePud0BPZ9/6oBiF0g2kXhuqvGVm
hCc68r0woOfb3mOthj++/qXE17lVCBmQpxVCVNNnJ2aLhe1EaIZj++juS5v28Yw7
ST9wiMFV+giujJFYoZrvee8q9Kdqs6nH5P60g74CHGmDV0GIfGbbHSlDC65nvoua
bieoR+/lNzjnpxyPm+8B24E3o2w9JVMJqQ5JNJl0cP3fmba7F4ON5/tao9aKlPA9
Z5WhvUB9DSjxPBdzhX2EgEZfFqwOiz50uhWdgfyZN1IMWK8xBRXE3Y4yjOt5RRHv
0CRttj3CMhBcE2OJn8pI84a8LbKNmywrEIrXShAullIkpUkHlAVGwDRRN9wCRQsC
0mLAthrSZao=
=+APm
- -----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

iQIVAwUBXecn22aOgq3Tt24GAQjmoA//aoKe0zW7Hx1DbsylKTm76ZpvU8ZXUj7k
Apfno6PcQe9j+RPvd3xEIQ4GS9aJcbRVtVWaXmIOPB0axmYIVuM7oWXNDvW2yMNm
A50TsFXrjM53Vfd3NUBh/Pm41+8O/I27WTDKpFtbjl7/EylReCpnBZJa0ULMeisc
50mnYnLzvuYEIlEmZFEAUlAkv4mQAWLTYTVbBbRq6hbDBWfuDqTbKCD50n+wP8AS
vyKAUI2Bc+Vp+f1gb7YG7fNJ7BYKX5kp3oUKPzmHtTfoIfHhH/R49VEIXbef+NKA
oniHLggvgAqcvPnurZ5IkA11d6yqnoP6k4rYP3uaMaiP/CbxCSakA3A8GgWljvxQ
JkB2BQG1YVd2pDlH+DirHyis7v3+5bVXuEyDI0DQMq85UYqXHQICMQ7wmiyn2E0c
XD9cbV523Dx48vjWsZHqJ5np6kRU3iLrqT+3WEsZzdEsPeZbIjM+AqweOtOzdMpC
wTz5A8m7gyc19NdZ78T1tJG3h8/aT3V4s1YPlkqxg32nlcDYV4eloXAfOe2PJfHJ
ygGzBpOzp+mnF46fEj5KM/+SXd8TlexzGVyo743l/2CpbutIncgszn/UJ2Aq1Bbm
XgQeDEg3zoec4YfW146QvyvwdQ0fdvjtHueRnRH1y+NzSXGPc+60Nc+sxYeMUIGj
WTAKG6kcz90=
=wL/Z
-----END PGP SIGNATURE-----