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.
https://github.com/lua/lua/commit/eb41999461b6f428186c55abd95f4ce1a76217d5
https://github.com/lua/lua/commit/6298903e35217ab69c279056f925fb72900ce0b7
http://lua-users.org/lists/lua-l/2020-07/msg00079.html
http://lua-users.org/lists/lua-l/2020-07/msg00071.html
http://lua-users.org/lists/lua-l/2020-07/msg00054.html
http://lua-users.org/lists/lua-l/2020-07/msg00053.html
Source: Mitre, NVD
Published: 2020-07-21
Updated: 2024-11-21
Base Score: 6.8
Vector: CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:P
Severity: Medium
Base Score: 8.8
Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Severity: High
EPSS: 0.01223