Vulnerability Description
In Lua 5.4.3, an erroneous finalizer called during a tail call leads to a heap-based buffer over-read.
CVSS Score
7.5
HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Lua | Lua | >= 5.4.0, < 5.4.4 |
Related Weaknesses (CWE)
References
- http://lua-users.org/lists/lua-l/2021-12/msg00019.htmlExploitMailing ListVendor Advisory
- https://github.com/lua/lua/commit/cf613cdc6fa367257fc61c256f63d917350858b5Patch
- https://www.lua.org/bugs.html#5.4.3-11Vendor Advisory
- http://lua-users.org/lists/lua-l/2021-12/msg00019.htmlExploitMailing ListVendor Advisory
- https://github.com/lua/lua/commit/cf613cdc6fa367257fc61c256f63d917350858b5Patch
- https://www.lua.org/bugs.html#5.4.3-11Vendor Advisory
FAQ
What is CVE-2021-45985?
CVE-2021-45985 is a vulnerability with a CVSS score of 7.5 (HIGH). In Lua 5.4.3, an erroneous finalizer called during a tail call leads to a heap-based buffer over-read.
How severe is CVE-2021-45985?
CVE-2021-45985 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2021-45985?
Check the references section above for vendor advisories and patch information. Affected products include: Lua Lua.