CVE-2017-18205 Null dereference in n/a
A NULL pointer dereference in zsh causes a crash when running the cd command without arguments in sh compatibility mode if HOME is unset.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2017-18205?
CVE-2017-18205 is a high-severity vulnerability in n/a, published on 27 Feb 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-476
Which versions are affected by CVE-2017-18205?
It affects 1 product.
Products include Zsh Project Zsh.
How do I fix CVE-2017-18205?
Upgrade to a fixed version.
Is CVE-2017-18205 being exploited?
There is no known exploitation of CVE-2017-18205 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as DEBIAN-CVE-2017-18205, GHSA-r2ph-r5g8-q5vv, UBUNTU-CVE-2017-18205.