CVE-2018-1000156
Severity
7.8HIGH
EPSS
36.8%
top 2.86%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
Timeline
PublishedApr 6
Latest updateMay 14
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:HExploitability: 1.8 | Impact: 5.9
Affected Packages6 packages
Also affects: Debian Linux 7.0, Ubuntu Linux 12.04, 14.04, 16.04, 17.10, Enterprise Linux 6.4, 6.5, 6.6, 7.2, 7.3, 7.4, 7.6, 6.7, 7.5
🔴Vulnerability Details
4📋Vendor Advisories
7Microsoft▶
GNU patch through 2.7.6 is vulnerable to OS shell command injection that can be exploited by opening a crafted patch file that contains an ed style diff payload with shell metacharacters. The ed edito↗2019-07-09
Microsoft▶
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 t↗2018-04-10
💬Community
3Bugzilla
▶
Bugzilla▶
CVE-2018-1000156 patch: Malicious patch files cause ed to execute arbitrary commands [fedora-all]↗2018-04-06
Bugzilla
▶