CVE-2017-18205
HIGHzsh < 5.4 - NULL Pointer Dereference via cd Command with Unset HOME
Title source: llmDescription
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.
References (4)
Core 4
Core References
Patch, Third Party Advisory x_refsource_misc
https://sourceforge.net/p/zsh/code/ci/eb783754bdb74377f3cea4ceca9c23a02ea1bf58
Vendor Advisory vendor-advisory
x_refsource_ubuntu
https://usn.ubuntu.com/3593-1/
Third Party Advisory vendor-advisory
x_refsource_gentoo
https://security.gentoo.org/glsa/201805-10
Vendor Advisory vendor-advisory
x_refsource_redhat
https://access.redhat.com/errata/RHSA-2018:3073
Scores
CVSS v3
8.1
EPSS
0.0212
EPSS Percentile
79.6%
Attack Vector
NETWORK
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Details
CWE
CWE-476
Status
published
Products (1)
zsh_project/zsh
< 5.4
Published
Feb 27, 2018
Tracked Since
Feb 18, 2026