ArchLinux: 201809-3: zsh: insufficient validation
Summary
- CVE-2018-0502 (insufficient validation)
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.
- CVE-2018-13259 (insufficient validation)
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.
Resolution
Upgrade to 5.6-1.
# pacman -Syu "zsh>=5.6-1"
The problems have been fixed upstream in version 5.6.
References
https://www.zsh.org/mla/zsh-announce/136 https://sourceforge.net/p/zsh/code/ci/1c4c7b6a4d17294df028322b70c53803a402233d https://security.archlinux.org/CVE-2018-0502 https://security.archlinux.org/CVE-2018-13259
Workaround
None.