Vulnerability identifier: #VU62053
Vulnerability risk: High
CVSSv3.1:
CVE-ID:
CWE-ID:
CWE-122
Exploitation vector: Network
Exploit availability: No
Vulnerable software:
Lua
Universal components / Libraries /
Scripting languages
Vendor: Lua
Description
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to a boundary error in the singlevar function in lparser.c. A remote attacker can use a specially crafted luaK_exp2anyregup call, 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.
Mitigation
Install update from vendor's website.
Vulnerable software versions
Lua: 5.4.0 - 5.4.4
CPE
External links
http://lua-users.org/lists/lua-l/2022-02/msg00001.html
http://lua-users.org/lists/lua-l/2022-02/msg00070.html
http://lua-users.org/lists/lua-l/2022-04/msg00009.html
http://github.com/lua/lua/commit/1f3c6f4534c6411313361697d98d1145a1f030fa
Can this vulnerability be exploited remotely?
Is there known malware, which exploits this vulnerability?