Type Confusion in Lua - CVE-2021-44647

 

Type Confusion in Lua - CVE-2021-44647

Published: May 3, 2023


Vulnerability identifier: #VU75704
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2021-44647
CWE-ID: CWE-843
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to a type confusion error within the funcnamefromcode() function in ldebug.c. A remote attacker can pass specially crafted data to the application, trigger a type confusion error and perform a denial of service (DoS) attack.


Affected software

Lua
Gentoo Linux
openEuler
Fedora
lua
lua-debuginfo
lua-debugsource
lua-devel
lua-help

How to mitigate CVE-2021-44647

Install updates from vendor's website.

Lua - update to 5.4.4
lua - addressed in versions 5.4.3-4.fc34, 5.4.3-4.fc35, 5.4.4-1.fc34
lua - update to 5.4.3-6
lua-debuginfo - update to 5.4.3-6
lua-debugsource - update to 5.4.3-6
lua-devel - update to 5.4.3-6
lua-help - update to 5.4.3-6

External References

Related Security Bulletins