Improper input validation in Zsh
CVE-2018-13259
An issue was discovered in zsh before 5.6. Shebang lines exceeding 64 characters were truncated, potentially leading to an execve call to a program name that is a substring of the intended one.
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.027, 86.3th 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, Release Notes, Vendor Advisory)
- USN-3764-1 (vendor-advisory, Third Party Advisory)
- GLSA-201903-02 (vendor-advisory, Third Party Advisory)
- RHSA-2019:2017 (vendor-advisory)
- [debian-lts-announce] 20201201 [SECURITY] [DLA 2470-1] zsh security update (mailing-list)