CVEvulnerability
CVE-2021-45985
7.5 HIGH
Official page ↗
- Status
- Analyzed
- Published
- 2023-04-10
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 7.5 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
- 7.5 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-787
Description
In Lua 5.4.3, an erroneous finalizer called during a tail call leads to a heap-based buffer over-read.
Affected configurations
• lua lua (>= 5.4.0 < 5.4.4)
Related
Weakness · CWE (1)
- CWE-787 Out-of-bounds Write weakness
References
- http://lua-users.org/lists/lua-l/2021-12/msg00019.html Exploit, Mailing List, Vendor Advisory
- https://github.com/lua/lua/commit/cf613cdc6fa367257fc61c256f63d917350858b5 Patch
- https://www.lua.org/bugs.html#5.4.3-11 Vendor Advisory
- http://lua-users.org/lists/lua-l/2021-12/msg00019.html Exploit, Mailing List, Vendor Advisory
- https://github.com/lua/lua/commit/cf613cdc6fa367257fc61c256f63d917350858b5 Patch
- https://www.lua.org/bugs.html#5.4.3-11 Vendor Advisory