CVE-2021-44964 Use after free in n/a

Medium 6.3 Published Updated

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.

PackageAffectedFixed in
lua BitnamiFrom 5.4.05.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.

Sources

Also known as AZL-40979, AZL-60034, AZL-60112, AZL-9048, BIT-lua-2021-44964, DEBIAN-CVE-2021-44964 and 4 more.

Is CVE-2021-44964 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free