OS Command Injection in Patch - CVE-2019-13638

 

OS Command Injection in Patch - CVE-2019-13638

Published: July 28, 2019


Vulnerability identifier: #VU19504
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2019-13638
CWE-ID: CWE-78
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: GNU
Affected software:
Patch

Detailed vulnerability description

The vulnerability allows a remote attacker to execute arbitrary shell commands on the target system.

The vulnerability exists due to insufficient validation of ed style diff payload with shell metacharacters in patch files. A remote attacker can trick the victim to use a specially crafted patch file and execute arbitrary OS commands.


How to mitigate CVE-2019-13638

Install updates from vendor's website.

Sources