CONTENTUM.COMA specialist. A plan. A result.

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

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.