Buffer overflow in zsh - CVE-2017-18206
Published: March 7, 2018 / Updated: March 7, 2018
Vulnerability identifier: #VU10855
CSH Severity: Low
CVSS v4: 5.1 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2017-18206
CWE-ID: CWE-120
Exploitation vector: Local access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a local attacker to cause DoS condition on the target system.
The weakness exists in the utils.c source code file due to insufficient checks on buffer lengths for symlink expansion. A local attacker can send specially crafted input, trigger memory corruption and cause the service to crash.
The weakness exists in the utils.c source code file due to insufficient checks on buffer lengths for symlink expansion. A local attacker can send specially crafted input, trigger memory corruption and cause the service to crash.
Affected software
zsh
Gentoo Linux
Amazon Linux AMI
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux for Power
Red Hat Enterprise Linux for Scientific Computing
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux Desktop
Red Hat Enterprise Linux Server
SUSE Linux Enterprise Debuginfo
SUSE Linux Enterprise Point of Sale
SUSE Linux Enterprise Server
SUSE Linux
Slackware Linux
Ubuntu
Fedora
zsh (Ubuntu package)
zsh
zsh-debuginfo
zsh-debugsource
Gentoo Linux
Amazon Linux AMI
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux for Power
Red Hat Enterprise Linux for Scientific Computing
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux Desktop
Red Hat Enterprise Linux Server
SUSE Linux Enterprise Debuginfo
SUSE Linux Enterprise Point of Sale
SUSE Linux Enterprise Server
SUSE Linux
Slackware Linux
Ubuntu
Fedora
zsh (Ubuntu package)
zsh
zsh-debuginfo
zsh-debugsource
How to mitigate CVE-2017-18206
Update to version 5.4.
zsh (Ubuntu package) - addressed in versions 5.0.2-3ubuntu6.1, 5.1.1-1ubuntu2.1, 5.2-5ubuntu1.1
zsh - update to 4.3.6-67.9.8.1
zsh-debuginfo - update to 4.3.6-67.9.8.1
zsh-debugsource - update to 4.3.6-67.9.8.1
zsh - update to 5.3.1-7.fc26
zsh - update to 4.3.6-67.9.8.1
zsh-debuginfo - update to 4.3.6-67.9.8.1
zsh-debugsource - update to 4.3.6-67.9.8.1
zsh - update to 5.3.1-7.fc26
External References
Related Security Bulletins
- Multiple vulnerabilities in SourceForge zsh
- SUSE Linux update for zsh
- OpenSUSE Linux update for zsh
- Gentoo update for Zsh
- Red Hat update for zsh
- Red Hat update for zsh
- Amazon Linux AMI update for zsh
- Slackware Linux update for zsh
- Red Hat update for zsh
- SUSE update for zsh
- Fedora 26 update for zsh
- Ubuntu update for zsh