7.8 High
CVSS3
Attack Vector
LOCAL
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
9.3 High
CVSS2
Access Vector
NETWORK
Access Complexity
MEDIUM
Authentication
NONE
Confidentiality Impact
COMPLETE
Integrity Impact
COMPLETE
Availability Impact
COMPLETE
AV:N/AC:M/Au:N/C:C/I:C/A:C
0.016 Low
EPSS
Percentile
87.4%
Issue Overview:
Malicious patch files cause ed to execute arbitrary commands
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.(CVE-2018-1000156)
Affected Packages:
patch
Issue Correction:
Run yum update patch to update your system.
New Packages:
i686:
patch-debuginfo-2.7.1-10.10.amzn1.i686
patch-2.7.1-10.10.amzn1.i686
src:
patch-2.7.1-10.10.amzn1.src
x86_64:
patch-2.7.1-10.10.amzn1.x86_64
patch-debuginfo-2.7.1-10.10.amzn1.x86_64
Red Hat: CVE-2018-1000156
Mitre: CVE-2018-1000156
OS | Version | Architecture | Package | Version | Filename |
---|---|---|---|---|---|
Amazon Linux | 1 | i686 | patch-debuginfo | < 2.7.1-10.10.amzn1 | patch-debuginfo-2.7.1-10.10.amzn1.i686.rpm |
Amazon Linux | 1 | i686 | patch | < 2.7.1-10.10.amzn1 | patch-2.7.1-10.10.amzn1.i686.rpm |
Amazon Linux | 1 | x86_64 | patch | < 2.7.1-10.10.amzn1 | patch-2.7.1-10.10.amzn1.x86_64.rpm |
Amazon Linux | 1 | x86_64 | patch-debuginfo | < 2.7.1-10.10.amzn1 | patch-debuginfo-2.7.1-10.10.amzn1.x86_64.rpm |
7.8 High
CVSS3
Attack Vector
LOCAL
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
9.3 High
CVSS2
Access Vector
NETWORK
Access Complexity
MEDIUM
Authentication
NONE
Confidentiality Impact
COMPLETE
Integrity Impact
COMPLETE
Availability Impact
COMPLETE
AV:N/AC:M/Au:N/C:C/I:C/A:C
0.016 Low
EPSS
Percentile
87.4%