CVE-2018-1071 Memory corruption in zsh
A local attacker can cause a denial of service via a stack-based buffer overflow in the zsh shell's hashcmd function.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2018-1071?
CVE-2018-1071 is a medium-severity memory corruption vulnerability in Canonical Ubuntu Linux, published on 9 Mar 2018. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
zsh through version 5.4.2 is vulnerable to a stack-based buffer overflow in the exec.c:hashcmd() function. A local attacker could exploit this to cause a denial of service.
Which versions are affected by CVE-2018-1071?
It affects 6 products.
Products include Canonical Ubuntu Linux, Debian Debian Linux, Redhat Enterprise Linux Desktop, Redhat Enterprise Linux Server, Redhat Enterprise Linux Workstation, Zsh Zsh.
How do I fix CVE-2018-1071?
Upgrade to a fixed version.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2018-1071 being exploited?
There is no known exploitation of CVE-2018-1071 in the wild and no public exploit code.
Other vulnerabilities in Canonical Ubuntu Linux
Sources
Also known as ALPINE-CVE-2018-1071, DEBIAN-CVE-2018-1071, GHSA-xc49-qj7m-vpp4, UBUNTU-CVE-2018-1071.