DSA-4489: -1 patch -- security update
Imre Rad discovered several vulnerabilities in GNU patch, leading to shell command injection or escape from the working directory and access and overwrite files, if specially crafted patch files are processed.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/patchto a version that resolves this vulnerability.Fixed in 2.7.5-1+deb9u2Fixed in 2.7.6-3+deb10u1 - Upgrade
Upgrade
GNU patchto a version that resolves this vulnerability.Patch DSA-4489-1
Event History
Child vulnerabilities
Contains the following vulnerabilities.
Frequently Asked Questions
Who is exposed to this issue?
Systems are exposed when they process specially crafted patch files with GNU patch. The affected software entry is debian/patch.
What does an attacker need to exploit the vulnerabilities?
An attacker needs a specially crafted patch file to be processed by GNU patch. Successful exploitation may result in shell command injection or escape from the working directory, allowing access to and overwriting of files.
How can I determine whether a system may be affected?
Review whether GNU patch is installed from the debian/patch package and whether it processes patch files from untrusted or insufficiently validated sources. The provided information does not include affected or fixed package versions.