#VU45992 Integer underflow in Lua


Published: 2020-08-17 | Updated: 2020-08-25

Vulnerability identifier: #VU45992

Vulnerability risk: Medium

CVSSv3.1: 4.6 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:U/RL:O/RC:C]

CVE-ID: CVE-2020-24370

CWE-ID: CWE-191

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
Lua
Universal components / Libraries / Scripting languages

Vendor: Lua

Description

The vulnerability allows a remote non-authenticated attacker to perform service disruption.

ldebug.c in Lua 5.4.0 allows a negation overflow and segmentation fault in getlocal and setlocal, as demonstrated by getlocal(3,2^31).

Mitigation
Install update from vendor's website.

Vulnerable software versions

Lua: 5.4.0


External links
http://lua-users.org/lists/lua-l/2020-07/msg00324.html
http://github.com/lua/lua/commit/a585eae6e7ada1ca9271607a4f48dfb17868ab7b


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability