VulnerabilityAnalyzed
CVE-2021-45985
In Lua 5.4.3, an erroneous finalizer called during a tail call leads to a heap-based buffer over-read.
HIGH 7.5EPSS 1.42%
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (1.42%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
Description
In Lua 5.4.3, an erroneous finalizer called during a tail call leads to a heap-based buffer over-read.
- CVSS 3.1
- 7.5 HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS
- 1.42% probability · 71th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-787
- Affected
- lua/lua
- Source
- cve@mitre.org
References
- http://lua-users.org/lists/lua-l/2021-12/msg00019.htmlExploit, Mailing List, Vendor 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.htmlExploit, Mailing List, Vendor Advisory
- https://github.com/lua/lua/commit/cf613cdc6fa367257fc61c256f63d917350858b5Patch
- https://www.lua.org/bugs.html#5.4.3-11Vendor Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.