Gentoo: GLSA-201908-22: Patch: Multiple vulnerabilities
Summary
Multiple vulnerabilities have been discovered in Patch. Please review the CVE identifiers referenced below for details.
Resolution
All Patch users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose ">=sys-devel/patch-2.7.6-r4"
References
[ 1 ] CVE-2019-13636 https://nvd.nist.gov/vuln/detail/CVE-2019-13636 [ 2 ] CVE-2019-13638 https://nvd.nist.gov/vuln/detail/CVE-2019-13638
Availability
This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:
https://security.gentoo.org/glsa/201908-22
Concerns
Security is a primary focus of Gentoo Linux and ensuring the confidentiality and security of our users' machines is of utmost importance to us. Any security concerns should be addressed to security@gentoo.org or alternatively, you may file a bug at https://bugs.gentoo.org.
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.
Affected Packages
------------------------------------------------------------------- Package / Vulnerable / Unaffected ------------------------------------------------------------------- 1 sys-devel/patch < 2.7.6-r4 >= 2.7.6-r4
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.