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 advisories/code/issues, web search, more)
Debian Bugs1000228, 1034845, 1034846, 1034847

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
lua5.1 (PTS)buster, bullseye5.1.5-8.1vulnerable
bookworm, sid5.1.5-9vulnerable
lua5.2 (PTS)buster, bullseye5.2.4-1.1vulnerable
bookworm, sid5.2.4-3vulnerable
lua5.3 (PTS)buster, bullseye5.3.3-1.1vulnerable
bookworm, sid5.3.6-2vulnerable
lua5.4 (PTS)bullseye5.4.2-2vulnerable
bookworm, sid5.4.4-3fixed
lua50 (PTS)buster5.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)1034845
lua5.2source(unstable)(unfixed)1034846
lua5.3source(unstable)(unfixed)1034847
lua5.4source(unstable)5.4.4-11000228
lua50source(unstable)(not affected)

Notes

[bullseye] - lua5.4 <no-dsa> (Minor issue)
[bookworm] - lua5.3 <ignored> (Minor issue)
[bullseye] - lua5.3 <ignored> (Minor issue)
[buster] - lua5.3 <no-dsa> (Minor issue)
[stretch] - lua5.3 <no-dsa> (Minor issue)
[bookworm] - lua5.2 <ignored> (Minor issue)
[bullseye] - lua5.2 <ignored> (Minor issue)
[buster] - lua5.2 <no-dsa> (Minor issue)
[stretch] - lua5.2 <no-dsa> (Minor issue)
[bookworm] - lua5.1 <ignored> (Minor issue)
[bullseye] - lua5.1 <ignored> (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