Skip to content
OpenAdvisories
Unscored CVE-2018-0502 EUVD-2018-1324GHSA-m962-vg7f-29fx

An issue was discovered in zsh before 5.6. The beginning of a #! script file was mishandled, potentially leading to an execve call to a pro…

Published Sep 5, 2018 · Updated Aug 5, 2024 · Assigned by debian

Description

An issue was discovered in zsh before 5.6. The beginning of a #! script file was mishandled, potentially leading to an execve call to a program named on the second line.

Affected products

VendorProductAffectedFixed
— zsh before 5.6 zsh before 5.6 —

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.6-1 —
Debian 13 zsh 5.6-1 —
Debian 12 zsh 5.6-1 —
Debian 9 zsh 5.3.1-4+deb9u1 DLA-2470-1
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS zsh 5.4.2-3ubuntu3.1 USN-3764-1
Ubuntu 16.04 LTS zsh 5.1.1-1ubuntu2.3 USN-3764-1
Ubuntu 14.04 LTS zsh 5.0.2-3ubuntu6.3 USN-3764-1
ReleasePackageFixed inAdvisory
SLES 15 zsh 5.6-3.6.1 SUSE-SU-2018:2686-1
SLES 12 SP5 zsh 5.0.5-6.12.2 SUSE-SU-2022:0161-1
SLES 12 SP4 zsh 5.0.5-6.12.2 SUSE-SU-2022:0161-1
SLES 12 SP3 zsh 5.0.5-6.12.2 SUSE-SU-2022:0161-1
SLES 12 SP2 zsh 5.0.5-6.12.2 SUSE-SU-2022:0161-1
Show 10 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 11 SP4 zsh 4.3.6-67.9.8.1 SUSE-SU-2022:14910-1
SLES for SAP 12 SP5 zsh 5.0.5-6.12.2 SUSE-SU-2022:0161-1
SLES for SAP 12 SP4 zsh 5.0.5-6.12.2 SUSE-SU-2022:0161-1
SLES for SAP 12 SP3 zsh 5.0.5-6.12.2 SUSE-SU-2022:0161-1
SUSE OpenStack Cloud Crowbar 9 zsh 5.0.5-6.12.2 SUSE-SU-2022:0161-1
SUSE OpenStack Cloud Crowbar 8 zsh 5.0.5-6.12.2 SUSE-SU-2022:0161-1
SUSE OpenStack Cloud 9 zsh 5.0.5-6.12.2 SUSE-SU-2022:0161-1
SUSE OpenStack Cloud 8 zsh 5.0.5-6.12.2 SUSE-SU-2022:0161-1
SUSE Linux Enterprise Point of Sale 11 SP3 zsh 4.3.6-67.9.8.1 SUSE-SU-2022:14910-1
SUSE HPE Helion OpenStack 8 zsh 5.0.5-6.12.2 SUSE-SU-2022:0161-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed zsh 5.8-7.7 openSUSE-SU-2024:11543-1

Amazon Linux

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

Advisories 7

References