CVE-2018-1000156

High

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.

SeverityHigh
CVSS7.8
Exploit probability—
ProductGnu Patch
PublishedApr 6, 2018
First seenApr 6, 2018

How to fix

Affected products

ProductAffected versionsFixed in
gnu patch2.7.6—
canonical ubuntu_linux12.04, 14.04, 16.04, 17.10—
debian debian_linux7.0—
redhat enterprise_linux_desktop6.0, 7.0—
redhat enterprise_linux_server6.0, 7.0—
redhat enterprise_linux_server_aus6.4, 6.5, 6.6, 7.2, 7.3, 7.4, 7.6—
redhat enterprise_linux_server_eus6.7, 7.3, 7.4, 7.5, 7.6—
redhat enterprise_linux_server_tus6.6, 7.2, 7.3, 7.4, 7.6—
redhat enterprise_linux_workstation6.0, 7.0—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.