Skip to content
OpenAdvisories
Unscored CVE-2018-1083 EUVD-2018-11733GHSA-pqpc-3fmx-3wqw

Zsh before version 5.4.2-test-1 is vulnerable to a buffer overflow in the shell autocomplete functionality. A local unprivileged user can c…

Published Mar 28, 2018 · Updated Sep 16, 2024 · Assigned by redhat

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.

Affected products

VendorProductAffectedFixed
zsh zsh before zsh 5.4.2-test-1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 zsh 5.4.2-4 —
Debian 13 zsh 5.4.2-4 —
Debian 12 zsh 5.4.2-4 —
Debian 9 zsh 5.3.1-4+deb9u1 DLA-2470-1
Debian 7 zsh 4.3.17-1+deb7u2 DLA-1335-1
ReleasePackageFixed inAdvisory
Ubuntu 16.04 LTS zsh 5.1.1-1ubuntu2.2 USN-3608-1
Ubuntu 14.04 LTS zsh 5.0.2-3ubuntu6.2 USN-3608-1
ReleasePackageFixed inAdvisory
RHEL 7 zsh +1 5.0.2-31.el7 RHSA-2018:3073
RHEL 6 zsh +1 4.3.11-8.el6 RHSA-2018:1932
ReleasePackageFixed inAdvisory
SLES 15 zsh 5.5-3.3.15 SUSE-SU-2018:1874-1
SLES 12 SP3 zsh 5.0.5-6.7.2 SUSE-SU-2018:1072-1
SLES 11 SP4 zsh 4.3.6-67.9.8.1 SUSE-SU-2022:14910-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 12 SP3 zsh 5.0.5-6.7.2 SUSE-SU-2018:1072-1
SUSE Linux Enterprise Point of Sale 11 SP3 zsh 4.3.6-67.9.8.1 SUSE-SU-2022:14910-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed zsh 5.8-7.7 openSUSE-SU-2024:11543-1
ReleasePackageFixed inAdvisory
Alpine v3.24 zsh 5.4.2-r1 —
Alpine v3.23 zsh 5.4.2-r1 —
Alpine v3.22 zsh 5.4.2-r1 —
Alpine v3.21 zsh 5.4.2-r1 —
Alpine v3.20 zsh 5.4.2-r1 —
Show 16 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 zsh 5.4.2-r1 —
Alpine v3.18 zsh 5.4.2-r1 —
Alpine v3.17 zsh 5.4.2-r1 —
Alpine v3.16 zsh 5.4.2-r1 —
Alpine v3.15 zsh 5.4.2-r1 —
Alpine v3.14 zsh 5.4.2-r1 —
Alpine v3.13 zsh 5.4.2-r1 —
Alpine v3.12 zsh 5.4.2-r1 —
Alpine v3.11 zsh 5.4.2-r1 —
Alpine v3.10 zsh 5.4.2-r1 —
Alpine v3.9 zsh 5.4.2-r1 —
Alpine v3.8 zsh 5.4.2-r1 —
Alpine v3.7 zsh 5.4.2-r1 —
Alpine v3.6 zsh 5.3.1-r1 —
Alpine v3.5 zsh 5.2-r4 —
Alpine v3.4 zsh 5.2-r2 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2 zsh +1 5.5.1-1.amzn2 ALAS2-2018-1013

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 7 zsh +1 5.0.2-31.el7 ELSA-2018-3073

Advisories 11

References