CVE-2021-45985

In Lua 5.4.3, an erroneous finalizer called during a tail call leads to a heap-based buffer over-read.
Configurations

Configuration 1 (hide)

cpe:2.3:a:lua:lua:*:*:*:*:*:*:*:*

History

25 Apr 2025, 18:54

Type Values Removed Values Added
CPE cpe:2.3:a:lua:lua:5.4.3:*:*:*:*:*:*:* cpe:2.3:a:lua:lua:*:*:*:*:*:*:*:*

21 Nov 2024, 06:33

Type Values Removed Values Added
References () http://lua-users.org/lists/lua-l/2021-12/msg00019.html - Exploit, Mailing List, Vendor Advisory () http://lua-users.org/lists/lua-l/2021-12/msg00019.html - Exploit, Mailing List, Vendor Advisory
References () https://github.com/lua/lua/commit/cf613cdc6fa367257fc61c256f63d917350858b5 - Patch () https://github.com/lua/lua/commit/cf613cdc6fa367257fc61c256f63d917350858b5 - Patch
References () https://www.lua.org/bugs.html#5.4.3-11 - Vendor Advisory () https://www.lua.org/bugs.html#5.4.3-11 - Vendor Advisory

14 Apr 2023, 03:51

Type Values Removed Values Added
CPE cpe:2.3:a:lua:lua:5.4.3:*:*:*:*:*:*:*
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.5
CWE CWE-787
First Time Lua lua
Lua
References (MISC) https://github.com/lua/lua/commit/cf613cdc6fa367257fc61c256f63d917350858b5 - (MISC) https://github.com/lua/lua/commit/cf613cdc6fa367257fc61c256f63d917350858b5 - Patch
References (MISC) http://lua-users.org/lists/lua-l/2021-12/msg00019.html - (MISC) http://lua-users.org/lists/lua-l/2021-12/msg00019.html - Exploit, Mailing List, Vendor Advisory
References (MISC) https://www.lua.org/bugs.html#5.4.3-11 - (MISC) https://www.lua.org/bugs.html#5.4.3-11 - Vendor Advisory

10 Apr 2023, 09:15

Type Values Removed Values Added
New CVE

Information

Published : 2023-04-10 09:15

Updated : 2025-04-25 18:54


NVD link : CVE-2021-45985

Mitre link : CVE-2021-45985

CVE.ORG link : CVE-2021-45985


JSON object : View

Products Affected

lua

  • lua
CWE
CWE-787

Out-of-bounds Write