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.
[
{
"product": "zsh",
"vendor": "zsh",
"versions": [
{
"status": "affected",
"version": "before zsh 5.4.2-test-1"
}
]
}
]
www.securityfocus.com/bid/103572
access.redhat.com/errata/RHSA-2018:1932
access.redhat.com/errata/RHSA-2018:3073
bugzilla.redhat.com/show_bug.cgi?id=1557382
lists.debian.org/debian-lts-announce/2018/03/msg00038.html
lists.debian.org/debian-lts-announce/2020/12/msg00000.html
security.gentoo.org/glsa/201805-10
sourceforge.net/p/zsh/code/ci/259ac472eac291c8c103c7a0d8a4eaf3c2942ed7
usn.ubuntu.com/3608-1/