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.
Metrics
CVSS 3.0 7.8/10
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| zsh | zsh | before zsh 5.4.2-test-1 |
References
- http://www.securityfocus.com/bid/103572Third Party Advisory, VDB Entry
- https://access.redhat.com/errata/RHSA-2018:1932Third Party Advisory
- https://access.redhat.com/errata/RHSA-2018:3073Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1557382Issue Tracking, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2018/03/msg00038.htmlMailing List, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2020/12/msg00000.html
- https://security.gentoo.org/glsa/201805-10Third Party Advisory
- https://sourceforge.net/p/zsh/code/ci/259ac472eac291c8c103c7a0d8a4eaf3c2942ed7Patch, Third Party Advisory
- https://usn.ubuntu.com/3608-1/Third Party Advisory
- http://www.securityfocus.com/bid/103572Third Party Advisory, VDB Entry
- https://access.redhat.com/errata/RHSA-2018:1932Third Party Advisory
- https://access.redhat.com/errata/RHSA-2018:3073Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1557382Issue Tracking, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2018/03/msg00038.htmlMailing List, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2020/12/msg00000.html
- https://security.gentoo.org/glsa/201805-10Third Party Advisory
- https://sourceforge.net/p/zsh/code/ci/259ac472eac291c8c103c7a0d8a4eaf3c2942ed7Patch, Third Party Advisory
- https://usn.ubuntu.com/3608-1/Third Party Advisory
Timeline
- Published
- Mar 28, 2018
- Last modified
- Jun 17, 2026
- NVD status
- Modified