Vulnerabilities · 2018 · Gnu
CVE-2018-1000156
Gnu Patch vulnerability
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.
Affected products
Patch, Ubuntu Linux, Debian Linux, Enterprise Linux Desktop, Enterprise Linux Server, Enterprise Linux Server Aus, Enterprise Linux Server Eus, Enterprise Linux Server Tus, Enterprise Linux Workstation. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Gnu Patch runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- savannah.gnu.org/bugs/index.php?53566 · Vendor Advisory
- rachelbythebay.com/w/2018/04/05/bangpatch/ · Third Party Advisory
- access.redhat.com/errata/RHSA-2018:1199 · Third Party Advisory
- access.redhat.com/errata/RHSA-2018:1200 · Third Party Advisory
- access.redhat.com/errata/RHSA-2018:2091 · Third Party Advisory
- access.redhat.com/errata/RHSA-2018:2092 · Third Party Advisory
- access.redhat.com/errata/RHSA-2018:2093 · Third Party Advisory
- access.redhat.com/errata/RHSA-2018:2094 · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2018-1000156
- cve.org/CVERecord?id=CVE-2018-1000156
More vulnerabilities in Gnu products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.