Skip to content
OpenAdvisories
Unscored CVE-2017-18205 EUVD-2017-9338GHSA-r2ph-r5g8-q5vv

In builtin.c in zsh before 5.4, when sh compatibility mode is used, there is a NULL pointer dereference during processing of the cd command…

Published Feb 27, 2018 · Updated Aug 5, 2024 · Assigned by mitre

Description

In builtin.c in zsh before 5.4, when sh compatibility mode is used, there is a NULL pointer dereference during processing of the cd command with no argument if HOME is not set.

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.1-1 —
Debian 13 zsh 5.4.1-1 —
Debian 12 zsh 5.4.1-1 —
ReleasePackageFixed inAdvisory
Ubuntu 16.04 LTS zsh 5.1.1-1ubuntu2.1 USN-3593-1
Ubuntu 14.04 LTS zsh 5.0.2-3ubuntu6.1 USN-3593-1
ReleasePackageFixed inAdvisory
RHEL 7 zsh +1 5.0.2-31.el7 RHSA-2018:3073
ReleasePackageFixed inAdvisory
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

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2 zsh +1 5.3.1-7.amzn2 ALAS2-2018-986

Oracle Linux

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

Advisories 6

References