CVE-2021-44647
published 2022-01-11CVE-2021-44647: Lua v5.4.3 and above are affected by SEGV by type confusion in funcnamefromcode function in ldebug.c which can cause a local denial of service.
PriorityP417medium5.5CVSS 3.1
AVLACLPRLUINSUCNINAH
EPSS
0.42%
33.9th percentile
Lua v5.4.3 and above are affected by SEGV by type confusion in funcnamefromcode function in ldebug.c which can cause a local denial of service.
Affected
11 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | lua5.1 | < lua5.4 5.4.4-1 (bookworm) | lua5.4 5.4.4-1 (bookworm) |
| debian | lua5.2 | < lua5.4 5.4.4-1 (bookworm) | lua5.4 5.4.4-1 (bookworm) |
| debian | lua5.3 | < lua5.4 5.4.4-1 (bookworm) | lua5.4 5.4.4-1 (bookworm) |
| debian | lua5.4 | < lua5.4 5.4.4-1 (bookworm) | lua5.4 5.4.4-1 (bookworm) |
| debian | lua50 | < lua5.4 5.4.4-1 (bookworm) | lua5.4 5.4.4-1 (bookworm) |
| fedoraproject | fedora | — | — |
| lua | lua | — | — |
| msrc | azl3_memcached_1.6.27-3_on_azure_linux_3.0 | — | — |
| msrc | azl3_ntopng_5.2.1-5_on_azure_linux_3.0 | — | — |
| msrc | cbl_mariner_2.0_arm | — | — |
| msrc | cbl_mariner_2.0_x64 | — | — |
CVSS provenance
nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
nvdv2.02.1LOWAV:L/AC:L/Au:N/C:N/I:N/A:P
osv5.5MEDIUM
vendor_debian5.5LOW
vendor_msrc5.5MEDIUM
vendor_redhat5.5MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-wvx9-9phh-9j3h: Lua 5
ghsa_unreviewed·2022-01-12
CVE-2021-44647 [MEDIUM] CWE-843 GHSA-wvx9-9phh-9j3h: Lua 5
Lua 5.4.4 and 5.4.2 are affected by SEGV by type confusion in funcnamefromcode function in ldebug.c which can cause a local denial of service.
OSV
CVE-2021-44647: Lua v5
osv·2022-01-11·CVSS 5.5
CVE-2021-44647 [MEDIUM] CVE-2021-44647: Lua v5
Lua v5.4.3 and above are affected by SEGV by type confusion in funcnamefromcode function in ldebug.c which can cause a local denial of service.
Microsoft
Lua v5.4.3 and above are affected by SEGV by type confusion in funcnamefromcode function in ldebug.c which can cause a local denial of service.
vendor_msrc·2022-01-11·CVSS 5.5
CVE-2021-44647 [MEDIUM] CWE-843 Lua v5.4.3 and above are affected by SEGV by type confusion in funcnamefromcode function in ldebug.c which can cause a local denial of service.
Lua v5.4.3 and above are affected by SEGV by type confusion in funcnamefromcode function in ldebug.c which can cause a local denial of service.
FAQ: Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information. If impact to additional products is identified, we will update the CVE to reflect this.
Mariner: Mariner
mitre: mitre
Cu
Red Hat
lua: type confusion in funcnamefromcode in ldebug.c could result in local DoS
vendor_redhat·2022-01-11·CVSS 5.5
CVE-2021-44647 [MEDIUM] CWE-843 lua: type confusion in funcnamefromcode in ldebug.c could result in local DoS
lua: type confusion in funcnamefromcode in ldebug.c could result in local DoS
Lua v5.4.3 and above are affected by SEGV by type confusion in funcnamefromcode function in ldebug.c which can cause a local denial of service.
A flaw was found in Lua. An SEGV crash in the funcnamefromcode() function in ldebug.c during error handling occurs in '__close' metamethods. This flaw allows an attacker to cause a denial of service.
Statement: This vulnerability affects Lua v5.4.3 and above which we do not ship in any of our products.
Package: lua (Red Hat Enterprise Linux 6) - Not affected
Package: lua (Red Hat Enterprise Linux 7) - Not affected
Package: libreoffice:flatpak/lua (Red Hat Enterprise Linux 8) - Not affected
Package: lua (Red Hat Enterprise Linux 8) - Not affected
Package: lua (Red
Debian
CVE-2021-44647: lua5.1 - Lua v5.4.3 and above are affected by SEGV by type confusion in funcnamefromcode ...
vendor_debian·2021·CVSS 5.5
CVE-2021-44647 [MEDIUM] CVE-2021-44647: lua5.1 - Lua v5.4.3 and above are affected by SEGV by type confusion in funcnamefromcode ...
Lua v5.4.3 and above are affected by SEGV by type confusion in funcnamefromcode function in ldebug.c which can cause a local denial of service.
Scope: local
bookworm: resolved
bullseye: resolved
forky: resolved
sid: resolved
trixie: resolved
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
http://lua-users.org/lists/lua-l/2021-11/msg00195.htmlhttp://lua-users.org/lists/lua-l/2021-11/msg00204.htmlhttps://access.redhat.com/security/cve/cve-2021-44647https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/P3EMGAQ5Y6GXJLY4K5DUOOEQT4MZ4J4F/https://security.gentoo.org/glsa/202305-23http://lua-users.org/lists/lua-l/2021-11/msg00195.htmlhttp://lua-users.org/lists/lua-l/2021-11/msg00204.htmlhttps://access.redhat.com/security/cve/cve-2021-44647https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/P3EMGAQ5Y6GXJLY4K5DUOOEQT4MZ4J4F/https://security.gentoo.org/glsa/202305-23
2022-01-11
Published