CVE-2018-1000156
Published: 6 April 2018
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.
Priority
Status
Package | Release | Status |
---|---|---|
patch Launchpad, Ubuntu, Debian |
artful |
Released
(2.7.5-1ubuntu0.2)
|
trusty |
Released
(2.7.1-4ubuntu2.4)
|
|
upstream |
Needs triage
|
|
xenial |
Released
(2.7.5-1ubuntu0.16.04.1)
|
|
Patches: upstream: http://git.savannah.gnu.org/cgit/patch.git/commit/?id=123eaff0d5d1aebe128295959435b9ca5909c26d |
Severity score breakdown
Parameter | Value |
---|---|
Base score | 7.8 |
Attack vector | Local |
Attack complexity | Low |
Privileges required | None |
User interaction | Required |
Scope | Unchanged |
Confidentiality | High |
Integrity impact | High |
Availability impact | High |
Vector | CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |