CVE-2018-1083
Zsh before version 5.4.2-test-1 is vulnerable to a buffer overflow in the shell autocomplete functionality.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (0.59%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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 3.0
- 7.8 HIGHCVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 0.59% probability · 47th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-120, CWE-119
- Affected
- zsh/zsh · canonical/ubuntu linux · debian/debian linux · redhat/enterprise linux desktop · redhat/enterprise linux server · redhat/enterprise linux workstation
- Source
- secalert@redhat.com
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
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.