CVE-2018-1000156

Impact:
Important
Public Date:
2018-04-05
CWE:
CWE-77
Bugzilla:
1564326: CVE-2018-1000156 patch: Malicious patch files cause ed to execute arbitrary commands

The MITRE CVE dictionary describes this issue as:

GNU Patch version 2.7.6 contains an input validation vulnerability when processing patch files, specifically the EDITOR_PROGRAM invocation (using ed) can result in code execution. This attack appear to be exploitable via a patch file processed via the patch utility. This is similar to FreeBSD's CVE-2015-1418 however although they share a common ancestry the code bases have diverged over time.

Find out more about CVE-2018-1000156 from the MITRE CVE dictionary dictionary and NIST NVD.

CVSS v3 metrics

CVSS3 Base Score 7.8
CVSS3 Base Metrics CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack Vector Local
Attack Complexity Low
Privileges Required Low
User Interaction None
Scope Unchanged
Confidentiality High
Integrity Impact High
Availability Impact High

Red Hat Security Errata

Platform Errata Release Date
Red Hat Enterprise Linux Advanced Update Support 6.5 (patch) RHSA-2018:2096 2018-06-27
Red Hat Enterprise Linux Extended Update Support 7.3 (patch) RHSA-2018:2092 2018-06-27
Red Hat Enterprise Linux Server Update Services for SAP Solutions 7.2 (patch) RHSA-2018:2093 2018-06-27
Red Hat Enterprise Linux Advanced Update Support 7.2 (patch) RHSA-2018:2093 2018-06-27
Red Hat Enterprise Linux Extended Update Support 7.4 (patch) RHSA-2018:2091 2018-06-27
Red Hat Enterprise Linux Extended Update Support 6.7 (patch) RHSA-2018:2094 2018-06-27
Red Hat Enterprise Linux Advanced Update Support 6.4 (patch) RHSA-2018:2097 2018-06-27
Red Hat Enterprise Linux Server TUS (v. 6.6) (patch) RHSA-2018:2095 2018-06-27
Red Hat Enterprise Linux 6 (patch) RHSA-2018:1199 2018-04-23
Red Hat Enterprise Linux Advanced Update Support 6.6 (patch) RHSA-2018:2095 2018-06-27
Red Hat Enterprise Linux 7 (patch) RHSA-2018:1200 2018-04-23
Red Hat Enterprise Linux Server TUS (v. 7.2) (patch) RHSA-2018:2093 2018-06-27

Affected Packages State

Platform Package State
Red Hat Enterprise Linux 5 patch Will not fix

Last Modified

CVE description copyright © 2017, The MITRE Corporation

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.