Use After Free in Lua
CVE-2021-44964
Use after free in garbage collector and finalizer of lgc.c in Lua interpreter 5.4.0~5.4.3 allows attackers to perform Sandbox Escape via a crafted script file.
Vulnerability class: Use-After-Free
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.3 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:N/I:N/A:H.
EPSS exploit prediction
EPSS: 0.010 (60.9th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 61st percentile — 60.9% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.010 · newest: 0.010 · change: 0.000
Affected products
Weakness classification (CWE)
Public proof-of-concept exploits
References
- lua-users.org/lists/lua-l/2021-11/msg00186.html (Technical Description, Exploit, Mailing List, Vendor Advisory)
- lua-users.org/lists/lua-l/2021-12/msg00007.html (Exploit, Mailing List, Vendor Advisory)
- lua-users.org/lists/lua-l/2021-12/msg00015.html (Mailing List, Vendor Advisory)
- lua-users.org/lists/lua-l/2021-12/msg00030.html (Mailing List, Vendor Advisory)
- github.com/Lua-Project/lua-5.4.4-sandbox-escape-with-new-vulnerability (Exploit, Third Party Advisory)
Frequently asked questions
- What is CVE-2021-44964?
- CVE-2021-44964 is a medium-severity vulnerability in Lua, classified under Use After Free. CVSS score: 6.3/10. Published 2022-03-14.
- How severe is CVE-2021-44964?
- Medium severity. CVSS v3 base score is 6.3 out of 10.
- Is CVE-2021-44964 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.