#VU47700 Heap-based buffer overflow in Lua - CVE-2020-15888
Published: July 22, 2020 / Updated: October 18, 2020
Lua
Lua
Description
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to a boundary error during interaction between stack resizes and garbage collection in ldo.c file. A remote attacker can pass specially crafted data to the application, trigger heap-based buffer overflow and execute arbitrary code on the target system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
Remediation
External links
- 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