Buffer overflow in Zsh
CVE-2018-1071
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.004, 37.5th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Zsh — versions 5.4.2
- Canonical Ubuntu Linux — versions 14.04, 16.04, 17.10
- Debian Linux — versions 7.0
- Red Hat Enterprise Linux Desktop — versions 7.0
- Red Hat Enterprise Linux Server — versions 7.0
- Red Hat Enterprise Linux Workstation — versions 7.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (ARPSyndicate/cvemon). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- bugzilla.redhat.com/show_bug.cgi (Third Party Advisory, Issue Tracking)
- USN-3608-1 (vendor-advisory, Third Party Advisory)
- www.securityfocus.com/bid/103359 (Third Party Advisory, VDB Entry, vdb-entry)
- GLSA-201805-10 (vendor-advisory, Third Party Advisory)
- [debian-lts-announce] 20180331 [SECURITY] [DLA 1335-1] zsh security update (mailing-list, Mailing List, Third Party Advisory)
- RHSA-2018:3073 (vendor-advisory, Third Party Advisory)
- [debian-lts-announce] 20201201 [SECURITY] [DLA 2470-1] zsh security update (mailing-list)