Name | CVE-2020-24370 |
Description | 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). |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-2381-1, DLA-3469-1 |
Debian Bugs | 971613, 988734 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
lua5.3 (PTS) | bullseye | 5.3.3-1.1+deb11u1 | fixed |
| sid, trixie, bookworm | 5.3.6-2 | fixed |
lua5.4 (PTS) | bullseye | 5.4.2-2 | fixed |
| bookworm | 5.4.4-3+deb12u1 | fixed |
| sid, trixie | 5.4.7-1 | fixed |
The information below is based on the following data on fixed versions.
Notes
http://lua-users.org/lists/lua-l/2020-07/msg00324.html
(lua5.4) https://github.com/lua/lua/commit/a585eae6e7ada1ca9271607a4f48dfb17868ab7b
(lua5.3) https://github.com/lua/lua/commit/b5bc89846721375fe30772eb8c5ab2786f362bf9