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.
02 Description
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.
03 Exploitation and scoring
- Exploitation
- Not assessed. CISA has not published an exploitation assessment for this record, and it is not in the KEV catalog. That is an absence of assessment, not a finding of no risk.
- SSVC decision
- Not assessed by CISA
- EPSS probability
- 0.98% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 61.9% of scored records. A rank, not a probability.
- NVD base score
- 6.3 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:N/I:N/A:H
- NVD analysis status
- Modified. NVD last modified this record on 2026-06-17.
- Red Hat severity
- Important. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2022-03-14 14:24Z4 YR AGO
- Last updated
- 2024-08-04 04:32Z2 YR AGO
- Reserved
- 2021-12-13
- Assigning CNA
- mitre
- Record state
- PUBLISHED
- Severity
- Not rated by the issuing CNA
- CNA CVSS vector
- Not published by the issuing CNA
- Weaknesses
- CWE-416Use After FreeVariant
- Data version
- 5.1
- Document digest
- 5c7dfa2e7651df1a80ea211e7a01834ad4666e1d1c5f9e8e76935754470f27ae
05 Affected products
06 References
- lua-users.orghttp://lua-users.org/lists/lua-l/2021-11/msg00186.html
- lua-users.orghttp://lua-users.org/lists/lua-l/2021-12/msg00007.html
- lua-users.orghttp://lua-users.org/lists/lua-l/2021-12/msg00015.html
- lua-users.orghttp://lua-users.org/lists/lua-l/2021-12/msg00030.html
- github.comhttps://github.com/Lua-Project/lua-5.4.4-sandbox-escape-with-new-vulnerability
07 Fixed in
AlmaLinux 9
- lua Fixed in 5.4.4-2.el9_1
- lua-devel Fixed in 5.4.4-2.el9_1
- lua-libs Fixed in 5.4.4-2.el9_1
Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
CloudLinux 9
- lua Fixed in 5.4.4-2.el9_1
- lua-devel Fixed in 5.4.4-2.el9_1
- lua-libs Fixed in 5.4.4-2.el9_1
Derived from AlmaLinux 9. Partial coverage: only packages taken from AlmaLinux 9 are listed.
Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
Debian 12
- lua5.4 Fixed in 5.4.4-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 13
- lua5.4 Fixed in 5.4.4-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- lua5.4 Fixed in 5.4.4-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 14.04 LTS
- lua5.2 No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 16.04 LTS
- lua5.2 No fix yet
- lua5.3 No fix yet
- lua50 No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 18.04 LTS
- lua50 No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 20.04 LTS
- lua50 No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.