First published: Tue Feb 27 2018(Updated: )
A flaw was found in zsh prior 5.3.1. There is a vulnerability when in sh compatibility mode if HOME was not set and cd was used with no argument. References: <a href="https://sourceforge.net/p/zsh/code/ci/eb783754bdb74377f3cea4ceca9c23a02ea1bf58">https://sourceforge.net/p/zsh/code/ci/eb783754bdb74377f3cea4ceca9c23a02ea1bf58</a>
Credit: cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
redhat/zsh | <5.4 | 5.4 |
debian/zsh | 5.8-6+deb11u1 5.9-4 5.9-8 | |
SUSE Zsh | <5.4 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2017-18205 is a vulnerability in zsh that allows for a NULL pointer dereference during processing of the cd command with no argument if HOME is not set.
CVE-2017-18205 has a severity rating of 8.1, which is considered high.
CVE-2017-18205 could potentially lead to a NULL pointer dereference in zsh if the cd command is used without any argument and HOME is not set.
The following versions of zsh are affected by CVE-2017-18205: 5.1.1-1ubuntu2.1, 5.2-5ubuntu1.1, 5.7.1-1+deb10u1, 5.8-6+deb11u1, 5.9-4, 5.9-5, and 5.4.
To fix CVE-2017-18205, you should update zsh to a version that includes the necessary security patches, such as 5.1.1-1ubuntu2.1, 5.2-5ubuntu1.1, 5.7.1-1+deb10u1, 5.8-6+deb11u1, 5.9-4, 5.9-5, or a version higher than 5.4.