CVE-2021-43519

NameCVE-2021-43519
DescriptionStack overflow in lua_resume of ldo.c in Lua Interpreter 5.1.0~5.4.4 allows attackers to perform a Denial of Service via a crafted script file.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
NVD severitymedium
Debian Bugs1000228

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
lua5.1 (PTS)bookworm, sid, buster, bullseye, stretch5.1.5-8.1vulnerable
lua5.2 (PTS)bookworm, sid, buster, bullseye, stretch5.2.4-1.1vulnerable
lua5.3 (PTS)stretch5.3.3-1vulnerable
stretch (security)5.3.3-1+deb9u1vulnerable
buster, bullseye5.3.3-1.1vulnerable
bookworm, sid5.3.6-1vulnerable
lua5.4 (PTS)bullseye5.4.2-2vulnerable
bookworm, sid5.4.3-1vulnerable
lua50 (PTS)buster, stretch5.0.3-8fixed
bullseye5.0.3-8.1fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
lua5.1source(unstable)(unfixed)
lua5.2source(unstable)(unfixed)
lua5.3source(unstable)(unfixed)
lua5.4source(unstable)(unfixed)1000228
lua50source(unstable)(not affected)

Notes

[bullseye] - lua5.4 <no-dsa> (Minor issue)
[bullseye] - lua5.3 <no-dsa> (Minor issue)
[buster] - lua5.3 <no-dsa> (Minor issue)
[stretch] - lua5.3 <no-dsa> (Minor issue)
[bullseye] - lua5.2 <no-dsa> (Minor issue)
[buster] - lua5.2 <no-dsa> (Minor issue)
[stretch] - lua5.2 <no-dsa> (Minor issue)
[bullseye] - lua5.1 <no-dsa> (Minor issue)
[buster] - lua5.1 <no-dsa> (Minor issue)
[stretch] - lua5.1 <no-dsa> (Minor issue)
- lua50 <not-affected> (Vulnerable code not present)
http://lua-users.org/lists/lua-l/2021-10/msg00123.html
http://lua-users.org/lists/lua-l/2021-11/msg00015.html
Fixed by: https://github.com/lua/lua/commit/74d99057a5146755e737c479850f87fd0e3b6868

Search for package or bug name: Reporting problems