CVE-2021-45985
HIGH EPSS 69.4%
Published Apr 10, 20233y ago · Modified Jun 17, 20262w ago
7.5 CVSS 3.1
Published Apr 10, 2023 3y ago
Last Modified Jun 17, 2026 2w ago
Description
In Lua 5.4.3, an erroneous finalizer called during a tail call leads to a heap-based buffer over-read.
CVSS Details
Base Score
Exploitability
Impact
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H Attack Vector Network
Attack Complexity Low
Privileges Required None
User Interaction None
Scope Unchanged
Confidentiality None
Integrity None
Availability High
Threat Intelligence
EPSS Exploit Probability
69.4% percentile
Exploit & Patch Status
Public Exploit Known
Patch Available
Weaknesses 1
CWE-787 Out-of-bounds Write Memory Safety
Affected Products 1
| Vendor | Product | Version | Range |
|---|---|---|---|
| lua | lua | * | ≥5.4.0 – <5.4.4 |
References 3
- lua-users.org http://lua-users.org/lists/lua-l/2021-12/msg00019.html
- github.com https://github.com/lua/lua/commit/cf613cdc6fa367257fc61c256f63d917350858b5
- lua.org https://www.lua.org/bugs.html#5.4.3-11
Remediation
- github.com https://github.com/lua/lua/commit/cf613cdc6fa367257fc61c256f63d917350858b5