Stack-based buffer overflow in zsh - CVE-2018-1071

 

Stack-based buffer overflow in zsh - CVE-2018-1071

Published: April 26, 2018


Vulnerability identifier: #VU12187
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2018-1071
CWE-ID: CWE-121
Exploitation vector: Local access
Exploit availability: No public exploit available
Vendor: SourceForge
Affected software:
zsh

Detailed vulnerability description

The vulnerability allows a local attacker to cause DOS condition on the target system.

The weakness exists in the exec.c:hashcmd() function due to stack-based buffer overflow. A local attacker can trigger memory corruption and cause the service to crash.

How to mitigate CVE-2018-1071

Install update from vendor's website.

Sources