In Lua 5.4.3, an erroneous finalizer called during a tail call leads to a heap-based buffer over-read.
The product writes data past the end, or before the beginning, of the intended buffer.
Link | Tags |
---|---|
https://www.lua.org/bugs.html#5.4.3-11 | vendor advisory |
https://github.com/lua/lua/commit/cf613cdc6fa367257fc61c256f63d917350858b5 | patch |
http://lua-users.org/lists/lua-l/2021-12/msg00019.html | vendor advisory mailing list exploit |