CVE-2021-45985
Severity CVSS v4.0:
Pending analysis
Type:
CWE-787
Out-of-bounds Write
Publication date:
10/04/2023
Last modified:
25/04/2025
Description
In Lua 5.4.3, an erroneous finalizer called during a tail call leads to a heap-based buffer over-read.
Impact
Base Score 3.x
7.50
Severity 3.x
HIGH
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:a:lua:lua:*:*:*:*:*:*:*:* | 5.4.0 (including) | 5.4.4 (excluding) |
To consult the complete list of CPE names with products and versions, see this page
References to Advisories, Solutions, and Tools
- http://lua-users.org/lists/lua-l/2021-12/msg00019.html
- https://github.com/lua/lua/commit/cf613cdc6fa367257fc61c256f63d917350858b5
- https://www.lua.org/bugs.html#5.4.3-11
- http://lua-users.org/lists/lua-l/2021-12/msg00019.html
- https://github.com/lua/lua/commit/cf613cdc6fa367257fc61c256f63d917350858b5
- https://www.lua.org/bugs.html#5.4.3-11



