High severity · published Apr 6, 2018
CVE-2018-1000156
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
7.8
CVSS
5.3%
EPSS
No
On KEV
Description
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.
CVSS vector
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Attack vector
Local
Complexity
Low
Privileges
None
User interaction
Required
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)5.3% · higher than 93% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
DL
Debian Linux · Debian
7.0 · source: NVD
EL
Enterprise Linux Desktop · Redhat
6.0; 7.0 · source: NVD
EL
Enterprise Linux Server · Redhat
6.0; 7.0 · source: NVD
EL
Enterprise Linux Server Aus · Redhat
6.4; 6.5; 6.6; 7.2; 7.3; 7.4; +1 more · source: NVD
EL
Enterprise Linux Server Eus · Redhat
6.7; 7.3; 7.4; 7.5; 7.6 · source: NVD
EL
Enterprise Linux Server Tus · Redhat
6.6; 7.2; 7.3; 7.4; 7.6 · source: NVD
PA
Patch · Gnu
2.7.6 · source: NVD
UL
Ubuntu Linux · Canonical
12.04; 14.04; 16.04; 17.10 · source: NVD