Name | CVE-2021-45985 |
Description | In Lua 5.4.3, an erroneous finalizer called during a tail call leads to a heap-based buffer over-read. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
lua5.1 (PTS) | bullseye | 5.1.5-8.1 | fixed |
| bookworm | 5.1.5-9 | fixed |
| sid, trixie | 5.1.5-10 | fixed |
lua5.2 (PTS) | bullseye | 5.2.4-1.1 | fixed |
| sid, trixie, bookworm | 5.2.4-3 | fixed |
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 | vulnerable |
| bookworm | 5.4.4-3+deb12u1 | fixed |
| sid, trixie | 5.4.7-1 | fixed |
lua50 (PTS) | bullseye | 5.0.3-8.1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
lua5.1 | source | (unstable) | (not affected) | | | |
lua5.2 | source | (unstable) | (not affected) | | | |
lua5.3 | source | (unstable) | (not affected) | | | |
lua5.4 | source | (unstable) | 5.4.4-1 | | | |
lua50 | source | (unstable) | (not affected) | | | |
Notes
[bullseye] - lua5.4 <no-dsa> (Minor issue)
- lua5.3 <not-affected> (Specific to 5.4)
- lua5.2 <not-affected> (Specific to 5.4)
- lua5.1 <not-affected> (Specific to 5.4)
- lua50 <not-affected> (Specific to 5.4)
https://www.lua.org/bugs.html#5.4.3-11
https://github.com/lua/lua/commit/cf613cdc6fa367257fc61c256f63d917350858b5 (v5.4.4)
http://lua-users.org/lists/lua-l/2021-12/msg00019.html