Name | CVE-2019-6706 |
Description | Lua 5.3.5 has a use-after-free in lua_upvaluejoin in lapi.c. For example, a crash outcome might be achieved by an attacker who is able to trigger a debug.upvaluejoin call in which the arguments have certain relationships. |
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-3469-1 |
Debian Bugs | 920321 |
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 |
| trixie, bookworm | 5.1.5-9 | fixed |
| sid | 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 |
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 | buster | 5.3.3-1.1+deb10u1 | | DLA-3469-1 | |
lua5.3 | source | bullseye | 5.3.3-1.1+deb11u1 | | | |
lua5.3 | source | (unstable) | 5.3.6-1 | | | 920321 |
lua50 | source | (unstable) | (not affected) | | | |
Notes
- lua5.2 <not-affected> (Vulnerable code introduced later)
- lua5.1 <not-affected> (Vulnerable code introduced later)
- lua50 <not-affected> (Vulnerable code introduced later)
http://lua-users.org/lists/lua-l/2019-01/msg00039.html
lua50 and lua5.1 don't have the affected code.
lua5.2 is not vulnerable as it doesn't free the value before using it.
https://github.com/lua/lua/commit/89aee84cbc9224f638f3b7951b306d2ee8ecb71e (v5.3.6)