ArchLinux: 202010-5: lua: arbitrary code execution
Summary
- CVE-2020-15888 (arbitrary code execution)
Lua through 5.4.0 mishandles the interaction between stack resizes and
garbage collection, leading to a heap-based buffer overflow, heap-based
buffer over-read, or use-after-free.
- CVE-2020-15889 (arbitrary code execution)
Lua through 5.4.0 has a getobjname heap-based buffer over-read because
youngcollection in lgc.c uses markold for an insufficient number of
list members.
Resolution
Upgrade to 5.4.1-1.
# pacman -Syu "lua>=5.4.1-1"
The problems have been fixed upstream in version 5.4.1.
References
https://github.com/lua/lua/commit/6298903e35217ab69c279056f925fb72900ce0b7 https://github.com/lua/lua/commit/eb41999461b6f428186c55abd95f4ce1a76217d5 https://github.com/lua/lua/commit/127e7a6c8942b362aa3c6627f44d660a4fb75312 https://security.archlinux.org/CVE-2020-15888 https://security.archlinux.org/CVE-2020-15889
Workaround
None.