Patch: Multiple vulnerabilities

2019-08-18T00:00:00
ID GLSA-201908-22
Type gentoo
Reporter Gentoo Foundation
Modified 2019-08-18T00:00:00

Description

Background

Patch takes a patch file containing a difference listing produced by the diff program and applies those differences to one or more original files, producing patched versions.

Description

Multiple vulnerabilities have been discovered in Patch. Please review the CVE identifiers referenced below for details.

Impact

A local attacker could pass a specially crafted diff file to Patch, possibly resulting in a Denial of Service condition or arbitrary code execution.

Workaround

There is no known workaround at this time.

Resolution

All Patch users should upgrade to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose ">=sys-devel/patch-2.7.6-r4"