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

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

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

An update for patch is now available for Red Hat Enterprise Linux 7.

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 Client (v. 7) - x86_64
Red Hat Enterprise Linux ComputeNode (v. 7) - x86_64
Red Hat Enterprise Linux Server (v. 7) - ppc64, ppc64le, s390x, x86_64
Red Hat Enterprise Linux Workstation (v. 7) - 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 Client (v. 7):

Source:
patch-2.7.1-12.el7_7.src.rpm

x86_64:
patch-2.7.1-12.el7_7.x86_64.rpm
patch-debuginfo-2.7.1-12.el7_7.x86_64.rpm

Red Hat Enterprise Linux ComputeNode (v. 7):

Source:
patch-2.7.1-12.el7_7.src.rpm

x86_64:
patch-2.7.1-12.el7_7.x86_64.rpm
patch-debuginfo-2.7.1-12.el7_7.x86_64.rpm

Red Hat Enterprise Linux Server (v. 7):

Source:
patch-2.7.1-12.el7_7.src.rpm

ppc64:
patch-2.7.1-12.el7_7.ppc64.rpm
patch-debuginfo-2.7.1-12.el7_7.ppc64.rpm

ppc64le:
patch-2.7.1-12.el7_7.ppc64le.rpm
patch-debuginfo-2.7.1-12.el7_7.ppc64le.rpm

s390x:
patch-2.7.1-12.el7_7.s390x.rpm
patch-debuginfo-2.7.1-12.el7_7.s390x.rpm

x86_64:
patch-2.7.1-12.el7_7.x86_64.rpm
patch-debuginfo-2.7.1-12.el7_7.x86_64.rpm

Red Hat Enterprise Linux Workstation (v. 7):

Source:
patch-2.7.1-12.el7_7.src.rpm

x86_64:
patch-2.7.1-12.el7_7.x86_64.rpm
patch-debuginfo-2.7.1-12.el7_7.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 . More contact
details at https://access.redhat.com/security/team/contact/

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

iQIVAwUBXZYAFNzjgjWX9erEAQjatw//R3Hu3fHwkzbyGdEjDnmSBg2LITobQh0Z
Frn4Htxxldz8N5wHCoW9qu0NucQ28C6JxnDSqQaOGCBe+2JAzt01edKVjKjMP+/2
BBVd4lnbFC3OsAKqqmGM3MnNkn00L5ZpDJxq2G4vwaqSm0hQAQtTxya9/jLPTb+T
s3Xwml+H1zXj0fWyKXI0ZGOhUTzyrLQod9g1bSxvT+oVCiYerYsybNuI/iFCd2Ad
ktQ/Cnt7JpFMFEDTv+zgss9fMCxBfDhrlJN1G4rxYLprmhrn0cc8BJYtLgLihjxW
H+PT0wyfkL9r5MT37GHhkHjdm/B+2BXMtnsycbd7PNe846JU0em+xRZDlO0wGags
1kHfeflH/5yMKMas33v4Q+VBFm7wN62dc7xrCzlZoe3x644rZqH1z3hlnpzkrshk
vC58gAHDm/8wGV3GBSAPeoR8Ck0YR1gpQi+Mg9HKxXBP42LwqP5gVpP59oKU3r8u
NnvMqsdJFqkzasCP9Iaf/mXxP3poC1HJc/cxSXb93VxBBXQ5Ds3bTGvrgg+XRysX
elMW3xGMIq+EgV8Dh/6aHdsiAW5qSV0n9GO7utx/Px+sQ2iz11hM7Hm4cbjtvxQg
F1KqkbVNnMMgTejXRChWfEVAFYhDvMdtIwJVqw/eZRDKe+cNjiVk/4JxNuP5KUvZ
yK3SNxjdRik=izs2
-----END PGP SIGNATURE-----

--
RHSA-announce mailing list
RHSA-announce@redhat.com
https://www.redhat.com/mailman/listinfo/rhsa-announce

RedHat: RHSA-2019-2964:01 Important: patch security update

An update for patch is now available for Red Hat Enterprise Linux 7

Summary

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.



Summary


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

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

Package List

Red Hat Enterprise Linux Client (v. 7):
Source: patch-2.7.1-12.el7_7.src.rpm
x86_64: patch-2.7.1-12.el7_7.x86_64.rpm patch-debuginfo-2.7.1-12.el7_7.x86_64.rpm
Red Hat Enterprise Linux ComputeNode (v. 7):
Source: patch-2.7.1-12.el7_7.src.rpm
x86_64: patch-2.7.1-12.el7_7.x86_64.rpm patch-debuginfo-2.7.1-12.el7_7.x86_64.rpm
Red Hat Enterprise Linux Server (v. 7):
Source: patch-2.7.1-12.el7_7.src.rpm
ppc64: patch-2.7.1-12.el7_7.ppc64.rpm patch-debuginfo-2.7.1-12.el7_7.ppc64.rpm
ppc64le: patch-2.7.1-12.el7_7.ppc64le.rpm patch-debuginfo-2.7.1-12.el7_7.ppc64le.rpm
s390x: patch-2.7.1-12.el7_7.s390x.rpm patch-debuginfo-2.7.1-12.el7_7.s390x.rpm
x86_64: patch-2.7.1-12.el7_7.x86_64.rpm patch-debuginfo-2.7.1-12.el7_7.x86_64.rpm
Red Hat Enterprise Linux Workstation (v. 7):
Source: patch-2.7.1-12.el7_7.src.rpm
x86_64: patch-2.7.1-12.el7_7.x86_64.rpm patch-debuginfo-2.7.1-12.el7_7.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/


Severity
Advisory ID: RHSA-2019:2964-01
Product: Red Hat Enterprise Linux
Advisory URL: https://access.redhat.com/errata/RHSA-2019:2964
Issued Date: : 2019-10-03
CVE Names: CVE-2018-20969 CVE-2019-13638

Topic

An update for patch is now available for Red Hat Enterprise Linux 7.Red Hat Product Security has rated this update as having a security impactof Important. A Common Vulnerability Scoring System (CVSS) base score,which gives a detailed severity rating, is available for each vulnerabilityfrom the CVE link(s) in the References section.


Topic


 

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) - ppc64, ppc64le, s390x, x86_64

Red Hat Enterprise Linux Workstation (v. 7) - x86_64


Bugs Fixed

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


Related News