CVE-2015-1416 Command injection in n/a

High 7.8 Published Updated

Remote attackers can execute arbitrary shell commands by providing a crafted patch file to vulnerable versions of the patch utility.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2015-1416?

CVE-2015-1416 is a high-severity command injection vulnerability in Freebsd Freebsd, published on 5 Feb 2018. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

Larry Wall's patch; patch in FreeBSD 10.2-RC1 before 10.2-RC1-p1, 10.2 before 10.2-BETA2-p2, and 10.1 before 10.1-RELEASE-p16; Bitrig; GNU patch before 2.2.5; and possibly other patch variants allow remote attackers to execute arbitrary shell commands via a crafted patch file.

Weakness: CWE-264

Which versions are affected by CVE-2015-1416?

It affects 1 product.

Products include Freebsd Freebsd.

How do I fix CVE-2015-1416?

Upgrade to a fixed version.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2015-1416 being exploited?

There is no known exploitation of CVE-2015-1416 in the wild and no public exploit code.

All Freebsd Freebsd vulnerabilities

Sources

Also known as DEBIAN-CVE-2015-1416, GHSA-hgf9-q4jg-3xqq.

Is CVE-2015-1416 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free