CVE-2018-1100 Memory corruption in zsh
A local attacker can exploit a stack-based buffer overflow in zsh to execute arbitrary code and escalate privileges.
- 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-1100?
CVE-2018-1100 is a high-severity memory corruption vulnerability in Canonical Ubuntu Linux, published on 11 Apr 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 utils.c:checkmailpath function. A local attacker could exploit this to execute arbitrary code in the context of another user.
Which versions are affected by CVE-2018-1100?
It affects 5 products.
Linux distribution packages (2)
zsh SUSE:Linux Enterprise Server 11 SP4 | All versions | 4.3.6-67.9.3.1 |
zsh SUSE:Linux Enterprise Server for SAP Applications 11 SP4 | All versions | 4.3.6-67.9.3.1 |
Products include Canonical Ubuntu Linux, Redhat Enterprise Linux Desktop, Redhat Enterprise Linux Server, Redhat Enterprise Linux Workstation, Zsh Zsh.
How do I fix CVE-2018-1100?
Apply the vendor's patch.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2018-1100 being exploited?
There is no known exploitation of CVE-2018-1100 in the wild and no public exploit code.
Other vulnerabilities in Canonical Ubuntu Linux
Sources
Also known as DEBIAN-CVE-2018-1100, GHSA-hwhr-jcvf-mgf3, SUSE-SU-2018:1037-1, UBUNTU-CVE-2018-1100.