[ASA-202010-5] lua: arbitrary code execution
Morten Linderud
foxboron at archlinux.org
Wed Oct 21 07:05:44 UTC 2020
Arch Linux Security Advisory ASA-202010-5
=========================================
Severity: High
Date : 2020-10-18
CVE-ID : CVE-2020-15888 CVE-2020-15889
Package : lua
Type : arbitrary code execution
Remote : Yes
Link : https://security.archlinux.org/AVG-1207
Summary
=======
The package lua before version 5.4.1-1 is vulnerable to arbitrary code
execution.
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.
Workaround
==========
None.
Description
===========
- 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.
Impact
======
A remote attacker is capable of executing arbitrary code on the
affected host.
References
==========
http://lua-users.org/lists/lua-l/2020-07/msg00053.html
http://lua-users.org/lists/lua-l/2020-07/msg00054.html
http://lua-users.org/lists/lua-l/2020-07/msg00071.html
http://lua-users.org/lists/lua-l/2020-07/msg00079.html
https://github.com/lua/lua/commit/6298903e35217ab69c279056f925fb72900ce0b7
https://github.com/lua/lua/commit/eb41999461b6f428186c55abd95f4ce1a76217d5
http://lua-users.org/lists/lua-l/2020-07/msg00078.html
https://github.com/lua/lua/commit/127e7a6c8942b362aa3c6627f44d660a4fb75312
https://security.archlinux.org/CVE-2020-15888
https://security.archlinux.org/CVE-2020-15889
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.archlinux.org/pipermail/arch-security/attachments/20201021/acf5602a/attachment.sig>
More information about the arch-security
mailing list