CVE-2021-44964 Use after free in n/a
Attackers can execute arbitrary code and escape the sandbox by exploiting a use-after-free vulnerability in the Lua interpreter's garbage collector.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2021-44964?
CVE-2021-44964 is a medium-severity use after free vulnerability in n/a, published on 14 Mar 2022. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official 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.
Weakness: CWE-416
Which versions are affected by CVE-2021-44964?
1 open source package ship an affected version, including lua. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
lua Bitnami | From 5.4.0 | 5.4.4 |
Products include Lua Lua.
How do I fix CVE-2021-44964?
Upgrade lua to 5.4.4 or later.
Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.
Is CVE-2021-44964 being exploited?
There is no known exploitation of CVE-2021-44964 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as AZL-40979, AZL-60034, AZL-60112, AZL-9048, BIT-lua-2021-44964, DEBIAN-CVE-2021-44964 and 4 more.