CVE-2021-45985

HIGH EPSS 69.4%
Published Apr 10, 20233y ago · Modified Jun 17, 20262w ago
7.5 CVSS 3.1
High
Find Similar
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
7.5
Exploitability
3.9
Impact
3.6
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

VendorProductVersionRange
lualua*≥5.4.0  –  <5.4.4

References 3

  • lua-users.org http://lua-users.org/lists/lua-l/2021-12/msg00019.html
    ExploitMailing ListVendor Advisory
  • github.com https://github.com/lua/lua/commit/cf613cdc6fa367257fc61c256f63d917350858b5
    Patch
  • lua.org https://www.lua.org/bugs.html#5.4.3-11
    Vendor Advisory

Remediation

  • github.com https://github.com/lua/lua/commit/cf613cdc6fa367257fc61c256f63d917350858b5
    Patch