Overly broad permissions can turn one compromised account into a much larger security problem. Learn how to reduce unnecessary access, review privileges, and apply least privilege across modern Linux systems. Review Linux Privileges×

Alerts This Week
Warning Icon 1 461
Alerts This Week
Warning Icon 1 461

Red Hat: RHSA-2018:2093-01 Important: Patch Command Execution

red hat
Calendar Grey June 27, 2018
Scroller Redhat
Essential security fix for Red Hat Enterprise Linux 7.2 aimed at mitigating execution threats posed by harmful files. Discover more details.
An update for patch is now available for Red Hat Enterprise Linux 7.2 Advanced Update Support, Red Hat Enterprise Linux 7.2 Telco Extended Update Support, and Red Hat Enterprise Li...

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

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: Malicious patch files cause ed to execute arbitrary commands (CVE-2018-1000156)
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.

References

https://access.redhat.com/security/cve/CVE-2018-1000156 https://access.redhat.com/security/updates/classification/#important

Package List

Red Hat Enterprise Linux Server AUS (v. 7.2):
Source: patch-2.7.1-10.el7_2.src.rpm
x86_64: patch-2.7.1-10.el7_2.x86_64.rpm patch-debuginfo-2.7.1-10.el7_2.x86_64.rpm
Red Hat Enterprise Linux Server E4S (v. 7.2):
Source: patch-2.7.1-10.el7_2.src.rpm
ppc64le: patch-2.7.1-10.el7_2.ppc64le.rpm patch-debuginfo-2.7.1-10.el7_2.ppc64le.rpm
x86_64: patch-2.7.1-10.el7_2.x86_64.rpm patch-debuginfo-2.7.1-10.el7_2.x86_64.rpm
Red Hat Enterprise Linux Server TUS (v. 7.2):
Source: patch-2.7.1-10.el7_2.src.rpm
x86_64: patch-2.7.1-10.el7_2.x86_64.rpm patch-debuginfo-2.7.1-10.el7_2.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
important
Lowest
Low
Medium
High
Critical

Advisory ID: RHSA-2018:2093-01
Product: Red Hat Enterprise Linux
Issue date: 2018-06-27

Topic

An update for patch is now available for Red Hat Enterprise Linux 7.2Advanced Update Support, Red Hat Enterprise Linux 7.2 Telco Extended UpdateSupport, and Red Hat Enterprise Linux 7.2 Update Services for SAPSolutions.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.

Relevant Releases Architectures

Red Hat Enterprise Linux Server AUS (v. 7.2) - x86_64

Red Hat Enterprise Linux Server E4S (v. 7.2) - ppc64le, x86_64

Red Hat Enterprise Linux Server TUS (v. 7.2) - x86_64

Bugs Fixed

1564326 - CVE-2018-1000156 patch: Malicious patch files cause ed to execute arbitrary commands

Get the latest News and Insights

Get the latest Linux and open source security news straight to your inbox.