ArchLinux: 201804-7: zsh: denial of service
Summary
- CVE-2018-7548 (denial of service)
In subst.c in zsh through 5.4.2, there is a NULL pointer dereference
when using ${(PA)...} on an empty array result.
- CVE-2018-7549 (denial of service)
In params.c in zsh through 5.4.2, there is a crash during a copy of an
empty hash table, as demonstrated by typeset -p.
Resolution
Upgrade to 5.5-1.
# pacman -Syu "zsh>=5.5-1"
The problems have been fixed upstream in version 5.5.
References
https://sourceforge.net/p/zsh/code/ci/110b13e1090bc31ac1352b28adc2d02b6d25a102 https://sourceforge.net/p/zsh/code/ci/c2cc8b0fbefc9868fa83537f5b6d90fc1ec438dd https://security.archlinux.org/CVE-2018-7548 https://security.archlinux.org/CVE-2018-7549
Workaround
None.