Skip to content

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.

MediumCVSS 6.3 EPSS 0.99%
Published
Updated
Exploit status
No public exploit known
Technology
UbuntuDebian

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.

Upgrade path

7 packages: 4 fixed, 3 with no fix yet.

PackageAffectedFixed inStatus
ubuntu/lua5.2(Ubuntu 14.04) = 5.2.2-1; = 5.2.2-2; = 5.2.2-3; = 5.2.3-1 +1 more No fix listed No fix yet
ubuntu/lua5.2(Ubuntu 16.04) = 5.2.4-1; = 5.2.4-1ubuntu1; All versions No fix listed No fix yet
ubuntu/lua5.3(Ubuntu 16.04) = 5.3.1-1; = 5.3.1-1ubuntu2; = 5.3.1-1ubuntu2.1; All versions No fix listed No fix yet
debian/lua5.4(Debian 12) < 5.4.4-1 5.4.4-1 Fixed
debian/lua5.4(Debian 13) < 5.4.4-1 5.4.4-1 Fixed
debian/lua5.4(Debian 14) < 5.4.4-1 5.4.4-1 Fixed
lua >= 5.4.0, <= 5.4.3 after 5.4.3 Fixed

Affected products

ProductAffected versionsFixed in
debian/lua5.4(Debian:12) < 5.4.4-1 5.4.4-1
debian/lua5.4(Debian:13) < 5.4.4-1 5.4.4-1
debian/lua5.4(Debian:14) < 5.4.4-1 5.4.4-1
lua >= 5.4.0, <= 5.4.3 No fix listed
ubuntu/lua5.2(Ubuntu:14.04) All versions No fix listed
ubuntu/lua5.2(Ubuntu:14.04) = 5.2.2-1 No fix listed
ubuntu/lua5.2(Ubuntu:14.04) = 5.2.2-2 No fix listed
ubuntu/lua5.2(Ubuntu:14.04) = 5.2.2-3 No fix listed
ubuntu/lua5.2(Ubuntu:14.04) = 5.2.3-1 No fix listed
ubuntu/lua5.2(Ubuntu:16.04) All versions No fix listed
ubuntu/lua5.2(Ubuntu:16.04) = 5.2.4-1 No fix listed
ubuntu/lua5.2(Ubuntu:16.04) = 5.2.4-1ubuntu1 No fix listed
ubuntu/lua5.3(Ubuntu:16.04) All versions No fix listed
ubuntu/lua5.3(Ubuntu:16.04) = 5.3.1-1 No fix listed
ubuntu/lua5.3(Ubuntu:16.04) = 5.3.1-1ubuntu2 No fix listed
ubuntu/lua5.3(Ubuntu:16.04) = 5.3.1-1ubuntu2.1 No fix listed

References