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?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2018
- CVE-2018-1000150An exposure of sensitive information vulnerability exists in…
- CVE-2018-1000151A man in the middle vulnerability exists in Jenkins vSphere …
- CVE-2018-1000152An improper authorization vulnerability exists in Jenkins vS…
- CVE-2018-1000153A cross-site request forgery vulnerability exists in Jenkins…
- CVE-2018-1000154Zammad GmbH Zammad version 2.3.0 and earlier contains a Impr…
- CVE-2018-1000155OpenFlow version 1.0 onwards contains a Denial of Service an…
- CVE-2018-1000157Rejected reason: DO NOT USE THIS CANDIDATE NUMBER. ConsultI…
- CVE-2018-1000158cmsmadesimple version 2.2.7 contains a Incorrect Access Cont…
- CVE-2018-1000159tlslite-ng version 0.7.3 and earlier, since commit d7b288316…
- CVE-2018-1000160RisingStack protect version 1.2.0 and earlier contains a Cro…
- CVE-2018-1000161nmap version 6.49BETA6 through 7.60, up to and including SVN…
- CVE-2018-1000162Parsedown version prior to 1.7.0 contains a Cross Site Scrip…
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
