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
CVSS 3 base score: 7.8
Status
Package | Release | Status |
---|---|---|
patch Launchpad, Ubuntu, Debian |
upstream |
Needs triage
|
precise |
Released
(2.6.1-3ubuntu0.2)
|
|
trusty |
Released
(2.7.1-4ubuntu2.4)
|
|
xenial |
Released
(2.7.5-1ubuntu0.16.04.1)
|
|
artful |
Released
(2.7.5-1ubuntu0.2)
|
|
Patches: upstream: http://git.savannah.gnu.org/cgit/patch.git/commit/?id=123eaff0d5d1aebe128295959435b9ca5909c26d |
References
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-1000156
- https://rachelbythebay.com/w/2018/04/05/bangpatch/
- https://twitter.com/kurtseifried/status/982028968877436928
- https://ubuntu.com/security/notices/USN-3624-1
- https://ubuntu.com/security/notices/USN-3624-2
- NVD
- Launchpad
- Debian