CVE-2020-24370

NameCVE-2020-24370
Descriptionldebug.c in Lua 5.4.0 allows a negation overflow and segmentation fault in getlocal and setlocal, as demonstrated by getlocal(3,2^31).
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-2381-1, DLA-3469-1
Debian Bugs971613, 988734

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
lua5.3 (PTS)buster5.3.3-1.1vulnerable
buster (security)5.3.3-1.1+deb10u1fixed
bullseye5.3.3-1.1+deb11u1fixed
bookworm, sid, trixie5.3.6-2fixed
lua5.4 (PTS)bullseye5.4.2-2fixed
bookworm5.4.4-3fixed
sid, trixie5.4.6-3fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
lua5.3sourcestretch5.3.3-1+deb9u1DLA-2381-1
lua5.3sourcebuster5.3.3-1.1+deb10u1DLA-3469-1
lua5.3sourcebullseye5.3.3-1.1+deb11u1
lua5.3source(unstable)5.3.6-1988734
lua5.4source(unstable)5.4.1-1971613

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

Search for package or bug name: Reporting problems