8.1
CWE
476
Advisory Published
Updated

CVE-2017-18205: Null Pointer Dereference

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 SoftwareAffected VersionHow to fix
redhat/zsh<5.4
5.4
debian/zsh
5.8-6+deb11u1
5.9-4
5.9-8
SUSE Zsh<5.4

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is CVE-2017-18205?

    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.

  • What is the severity of CVE-2017-18205?

    CVE-2017-18205 has a severity rating of 8.1, which is considered high.

  • How does CVE-2017-18205 impact zsh?

    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.

  • Which versions of zsh are affected by CVE-2017-18205?

    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.

  • How can I fix CVE-2017-18205?

    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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203