CVE-2020-24370
published 2020-08-17CVE-2020-24370: ldebug.c in Lua 5.4.0 allows a negation overflow and segmentation fault in getlocal and setlocal, as demonstrated by getlocal(3,2^31).
PriorityP429medium5.3CVSS 3.1
AVNACLPRNUINSUCNINAL
EPSS
3.83%
88.9th percentile
ldebug.c in Lua 5.4.0 allows a negation overflow and segmentation fault in getlocal and setlocal, as demonstrated by getlocal(3,2^31).
Affected
19 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | debian_linux | — | — |
| debian | lua5.3 | < lua5.3 5.3.6-1 (bookworm) | lua5.3 5.3.6-1 (bookworm) |
| debian | lua5.4 | < lua5.3 5.3.6-1 (bookworm) | lua5.3 5.3.6-1 (bookworm) |
| fedoraproject | fedora | — | — |
| fedoraproject | fedora | — | — |
| lua | lua | — | — |
| lua | lua | — | — |
| lua | lua | — | — |
| lua | lua | — | — |
| lua | lua | — | — |
| lua | lua | — | — |
| lua | lua | — | — |
| lua | lua | — | — |
| lua | lua | — | — |
| lua | lua | — | — |
| lua | lua | — | — |
| msrc | azl3_lua_5.4.6-1_on_azure_linux_3.0 | — | — |
| msrc | azure_linux_3.0_arm | — | — |
| msrc | azure_linux_3.0_x64 | — | — |
CVSS provenance
nvdv3.15.3MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
nvdv2.05.0MEDIUMAV:N/AC:L/Au:N/C:N/I:N/A:P
osv5.3MEDIUM
vendor_debian5.3MEDIUM
vendor_msrc5.3MEDIUM
vendor_redhat5.3MEDIUM
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.
Microsoft
ldebug.c in Lua 5.4.0 allows a negation overflow and segmentation fault in getlocal and setlocal as demonstrated by getlocal(32^31).
vendor_msrc·2020-08-11·CVSS 5.3
CVE-2020-24370 [MEDIUM] CWE-191 ldebug.c in Lua 5.4.0 allows a negation overflow and segmentation fault in getlocal and setlocal as demonstrated by getlocal(32^31).
ldebug.c in Lua 5.4.0 allows a negation overflow and segmentation fault in getlocal and setlocal as demonstrated by getlocal(32^31).
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
Customer Acti
Red Hat
lua: segmentation fault in getlocal and setlocal functions in ldebug.c
vendor_redhat·2020-07-24·CVSS 5.3
CVE-2020-24370 [MEDIUM] CWE-682 lua: segmentation fault in getlocal and setlocal functions in ldebug.c
lua: segmentation fault in getlocal and setlocal functions in ldebug.c
ldebug.c in Lua 5.4.0 allows a negation overflow and segmentation fault in getlocal and setlocal, as demonstrated by getlocal(3,2^31).
Package: lua (Red Hat Enterprise Linux 6) - Not affected
Package: lua (Red Hat Enterprise Linux 7) - Not affected
Debian
CVE-2020-24370: lua5.3 - ldebug.c in Lua 5.4.0 allows a negation overflow and segmentation fault in getlo...
vendor_debian·2020·CVSS 5.3
CVE-2020-24370 [MEDIUM] CVE-2020-24370: lua5.3 - ldebug.c in Lua 5.4.0 allows a negation overflow and segmentation fault in getlo...
ldebug.c in Lua 5.4.0 allows a negation overflow and segmentation fault in getlocal and setlocal, as demonstrated by getlocal(3,2^31).
Scope: local
bookworm: resolved (fixed in 5.3.6-1)
bullseye: resolved (fixed in 5.3.3-1.1+deb11u1)
forky: resolved (fixed in 5.3.6-1)
sid: resolved (fixed in 5.3.6-1)
trixie: resolved (fixed in 5.3.6-1)
GHSA
GHSA-gfr4-c37g-mm3v: ldebug
ghsa_unreviewed·2022-05-24
CVE-2020-24370 [MEDIUM] CWE-191 GHSA-gfr4-c37g-mm3v: ldebug
ldebug.c in Lua 5.4.0 allows a negation overflow and segmentation fault in getlocal and setlocal, as demonstrated by getlocal(3,2^31).
OSV
CVE-2020-24370: ldebug
osv·2020-08-17·CVSS 5.3
CVE-2020-24370 [MEDIUM] CVE-2020-24370: ldebug
ldebug.c in Lua 5.4.0 allows a negation overflow and segmentation fault in getlocal and setlocal, as demonstrated by getlocal(3,2^31).
No detection rules found.
No public exploits indexed.
http://lua-users.org/lists/lua-l/2020-07/msg00324.htmlhttps://github.com/lua/lua/commit/a585eae6e7ada1ca9271607a4f48dfb17868ab7bhttps://lists.debian.org/debian-lts-announce/2020/09/msg00019.htmlhttps://lists.debian.org/debian-lts-announce/2023/06/msg00031.htmlhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/E6KONNG6UEI3FMEOY67NDZC32NBGBI44/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QXYMCIUNGK26VHAYHGP5LPW56G2KWOHQ/http://lua-users.org/lists/lua-l/2020-07/msg00324.htmlhttps://github.com/lua/lua/commit/a585eae6e7ada1ca9271607a4f48dfb17868ab7bhttps://lists.debian.org/debian-lts-announce/2020/09/msg00019.htmlhttps://lists.debian.org/debian-lts-announce/2023/06/msg00031.htmlhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/E6KONNG6UEI3FMEOY67NDZC32NBGBI44/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QXYMCIUNGK26VHAYHGP5LPW56G2KWOHQ/
2020-08-17
Published