Severity
7.8HIGHNVD
OSV5.5
EPSS
0.1%
top 77.83%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedMar 28
Latest updateMay 13

Description

Zsh before version 5.4.2-test-1 is vulnerable to a buffer overflow in the shell autocomplete functionality. A local unprivileged user can create a specially crafted directory path which leads to code execution in the context of the user who tries to use autocomplete to traverse the before mentioned path. If the user affected is privileged, this leads to privilege escalation.

CVSS vector

CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitability: 1.8 | Impact: 5.9

Affected Packages8 packages

debiandebian/zsh< zsh 5.4.2-4 (bookworm)
Debianzsh/zsh< 5.4.2-4+3
Ubuntuzsh/zsh< 5.0.2-3ubuntu6.2+1
NVDzsh/zsh5.4.1
CVEListV5zsh/zshbefore zsh 5.4.2-test-1

Also affects: Debian Linux 7.0, Ubuntu Linux 14.04, 16.04, 17.10

Patches

🔴Vulnerability Details

3
GHSA
GHSA-pqpc-3fmx-3wqw: Zsh before version 52022-05-13
OSV
CVE-2018-1083: Zsh before version 52018-03-28
OSV
zsh vulnerabilities2018-03-27

💥Exploits & PoCs

1
Exploit-DB
QNAP Q'Center - 'change_passwd' Command Execution (Metasploit)2018-07-17

📋Vendor Advisories

3
Ubuntu
Zsh vulnerabilities2018-03-27
Red Hat
zsh: Stack-based buffer overflow in gen_matches_files() at compctl.c2018-03-26
Debian
CVE-2018-1083: zsh - Zsh before version 5.4.2-test-1 is vulnerable to a buffer overflow in the shell ...2018

💬Community

2
Bugzilla
CVE-2018-1083 zsh: Stack-based buffer overflow in gen_matches_files() at compctl.c [fedora-all]2018-03-26
Bugzilla
CVE-2018-1083 zsh: Stack-based buffer overflow in gen_matches_files() at compctl.c2018-03-16