Home
Trends
Vulnerabilities
News
Researchers
Why dbugs?

Rachel Kroll

#27638of 53,638
9.3Total CVSS
Vulnerabilities · 1
PT-2018-1898
9.3
2018-04-05
Gnu · Gnu Patch · CVE-2018-1000156
**Name of the Vulnerable Software and Affected Versions** GNU Patch version 2.7.6 **Description** The issue is related to an input validation vulnerability in GNU Patch when processing patch files, specifically with the EDITOR PROGRAM invocation using `ed`. This can result in code execution. The vulnerability is exploitable via a patch file processed by the patch utility. It is similar to a previously known issue, although the code bases have diverged over time. The vulnerability is also related to the support for the outdated "ed" format, which allows the execution of external commands using the `!` operator, potentially enabling a remote attacker to execute arbitrary code. **Recommendations** For GNU Patch version 2.7.6, consider disabling the `ed` format support or restricting the use of the EDITOR PROGRAM invocation until a patch is available. Avoid using the `!` operator in patch files to minimize the risk of exploitation. At the moment, there is no information about a newer version that contains a fix for this vulnerability.