VDB
CVE-2017-18205
CVE-2017-18205
PUBLISHED
Reported by mitre · Published February 27, 2018
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| zsh | Amazon Linux | 5.3.1-7.amzn2 |
| zsh | Ubuntu:16.04:LTS | 5.1.1-1ubuntu2.1 |
| zsh | zsh_project | 5.4 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| amazon:2 | zsh | 0 |
| n/a | n/a | * |
| amazon:2 | zsh-html | 0 |
Timeline
- Feb 27, 2018 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Sep 8, 2025 CVE Updated
- Mar 6, 2026 Distribution Patch (2 in total, the first dated here)
- Mar 6, 2026 Security Advisory (4 in total, the first dated here)
- Oct 1, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2017-18205
vulnetix vdb fixes CVE-2017-18205
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2017-18205/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_MISC
- USN-3593-1 vendor-advisoryx_refsource_UBUNTU
- GLSA-201805-10 vendor-advisoryx_refsource_GENTOO
- RHSA-2018:3073 vendor-advisoryx_refsource_REDHAT