CVE-2018-1000156
Last modified
CVE-2018-1000156 is a vulnerability of currently unknown severity. 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. EPSS estimates a 5.56% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Gnu | Patch | 2.7.6 |
| Canonical | Ubuntu Linux | 12.04 |
| Canonical | Ubuntu Linux | 14.04 |
| Canonical | Ubuntu Linux | 16.04 |
| Canonical | Ubuntu Linux | 17.10 |
| Debian | Debian Linux | 7.0 |
| Redhat | Enterprise Linux Desktop | 6.0 |
| Redhat | Enterprise Linux Desktop | 7.0 |
| Redhat | Enterprise Linux Server | 6.0 |
| Redhat | Enterprise Linux Server | 7.0 |
| Redhat | Enterprise Linux Server Aus | 6.4 |
| Redhat | Enterprise Linux Server Aus | 6.5 |
| Redhat | Enterprise Linux Server Aus | 6.6 |
| Redhat | Enterprise Linux Server Aus | 7.2 |
| Redhat | Enterprise Linux Server Aus | 7.3 |
| Redhat | Enterprise Linux Server Aus | 7.4 |
| Redhat | Enterprise Linux Server Aus | 7.6 |
| Redhat | Enterprise Linux Server Eus | 6.7 |
| Redhat | Enterprise Linux Server Eus | 7.3 |
| Redhat | Enterprise Linux Server Eus | 7.4 |
| Redhat | Enterprise Linux Server Eus | 7.5 |
| Redhat | Enterprise Linux Server Eus | 7.6 |
| Redhat | Enterprise Linux Server Tus | 6.6 |
| Redhat | Enterprise Linux Server Tus | 7.2 |
| Redhat | Enterprise Linux Server Tus | 7.3 |
| Redhat | Enterprise Linux Server Tus | 7.4 |
| Redhat | Enterprise Linux Server Tus | 7.6 |
| Redhat | Enterprise Linux Workstation | 6.0 |
| Redhat | Enterprise Linux Workstation | 7.0 |
References
- http://rachelbythebay.com/w/2018/04/05/bangpatch/Third Party Advisory
- https://access.redhat.com/errata/RHSA-2018:1199Third Party Advisory
- https://access.redhat.com/errata/RHSA-2018:1200Third Party Advisory
- https://access.redhat.com/errata/RHSA-2018:2091Third Party Advisory
- https://access.redhat.com/errata/RHSA-2018:2092Third Party Advisory
- https://access.redhat.com/errata/RHSA-2018:2093Third Party Advisory
- https://access.redhat.com/errata/RHSA-2018:2094Third Party Advisory
- https://access.redhat.com/errata/RHSA-2018:2095Third Party Advisory
- https://access.redhat.com/errata/RHSA-2018:2096Third Party Advisory
- https://access.redhat.com/errata/RHSA-2018:2097Third Party Advisory
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=894667#19Issue Tracking, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2018/04/msg00013.htmlMailing List, Third Party Advisory
- https://savannah.gnu.org/bugs/index.php?53566Vendor Advisory
- https://security.gentoo.org/glsa/201904-17Third Party Advisory
- https://usn.ubuntu.com/3624-1/Third Party Advisory
- https://usn.ubuntu.com/3624-2/Third Party Advisory
- http://rachelbythebay.com/w/2018/04/05/bangpatch/Third Party Advisory
- https://access.redhat.com/errata/RHSA-2018:1199Third Party Advisory
- https://access.redhat.com/errata/RHSA-2018:1200Third Party Advisory
- https://access.redhat.com/errata/RHSA-2018:2091Third Party Advisory
- https://access.redhat.com/errata/RHSA-2018:2092Third Party Advisory
- https://access.redhat.com/errata/RHSA-2018:2093Third Party Advisory
- https://access.redhat.com/errata/RHSA-2018:2094Third Party Advisory
- https://access.redhat.com/errata/RHSA-2018:2095Third Party Advisory
- https://access.redhat.com/errata/RHSA-2018:2096Third Party Advisory
- https://access.redhat.com/errata/RHSA-2018:2097Third Party Advisory
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=894667#19Issue Tracking, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2018/04/msg00013.htmlMailing List, Third Party Advisory
- https://savannah.gnu.org/bugs/index.php?53566Vendor Advisory
- https://security.gentoo.org/glsa/201904-17Third Party Advisory
- https://twitter.com/kurtseifried/status/982028968877436928Third Party Advisory
- https://usn.ubuntu.com/3624-1/Third Party Advisory
- https://usn.ubuntu.com/3624-2/Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2018-1000156?
How severe is CVE-2018-1000156?
How do I fix CVE-2018-1000156?
Are you affected by CVE-2018-1000156?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
