Improper input validation in Zsh
CVE-2018-0502
An issue was discovered in zsh before 5.6. The beginning of a #! script file was mishandled, potentially leading to an execve call to a program named on the second line.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.025, 84.9th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Zsh
- Canonical Ubuntu Linux — versions 14.04, 16.04, 18.04
- Zsh Before 5.6 — versions zsh before 5.6
Weakness classification (CWE)
References
- bugs.debian.org/908000 (Patch, Mailing List, Third Party Advisory)
- sourceforge.net/p/zsh/code/ci/1c4c7b6a4d17294df028322b70c53803a402233d (Patch, Third Party Advisory)
- www.zsh.org/mla/zsh-announce/136 (Mailing List, Vendor Advisory)
- USN-3764-1 (vendor-advisory, Third Party Advisory)
- GLSA-201903-02 (vendor-advisory, Third Party Advisory)
- [debian-lts-announce] 20201201 [SECURITY] [DLA 2470-1] zsh security update (mailing-list)