Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Zsh Project | Zsh | < 5.4 |
Related Weaknesses (CWE)
References
- https://access.redhat.com/errata/RHSA-2018:3073
- https://security.gentoo.org/glsa/201805-10
- https://sourceforge.net/p/zsh/code/ci/eb783754bdb74377f3cea4ceca9c23a02ea1bf58PatchThird Party Advisory
- https://usn.ubuntu.com/3593-1/
- https://access.redhat.com/errata/RHSA-2018:3073
- https://security.gentoo.org/glsa/201805-10
- https://sourceforge.net/p/zsh/code/ci/eb783754bdb74377f3cea4ceca9c23a02ea1bf58PatchThird Party Advisory
- https://usn.ubuntu.com/3593-1/
FAQ
What is CVE-2017-18205?
CVE-2017-18205 is a vulnerability with a CVSS score of 8.1 (HIGH). 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.
How severe is CVE-2017-18205?
CVE-2017-18205 has been rated HIGH with a CVSS base score of 8.1/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2017-18205?
Check the references section above for vendor advisories and patch information. Affected products include: Zsh Project Zsh.