Name | CVE-2020-15945 |
Description | Lua through 5.4.0 has a segmentation fault in changedline in ldebug.c (e.g., when called by luaG_traceexec) because it incorrectly expects that an oldpc value is always updated upon a return of the flow of control to a function. |
Source | CVE (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 severity | low |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
lua5.1 (PTS) | bullseye, sid, buster, stretch | 5.1.5-8.1 | undetermined |
lua5.2 (PTS) | bullseye, sid, buster, stretch | 5.2.4-1.1 | undetermined |
lua5.3 (PTS) | stretch | 5.3.3-1 | undetermined |
| stretch (security) | 5.3.3-1+deb9u1 | undetermined |
| bullseye, sid, buster | 5.3.3-1.1 | undetermined |
lua5.4 (PTS) | bullseye, sid | 5.4.2-2 | fixed |
lua50 (PTS) | buster, stretch | 5.0.3-8 | undetermined |
| bullseye, sid | 5.0.3-8.1 | undetermined |
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) | undetermined | | | |
lua5.2 | source | (unstable) | undetermined | | | |
lua5.3 | source | (unstable) | undetermined | | | |
lua5.4 | source | (unstable) | 5.4.1-1 | | | |
lua50 | source | (unstable) | undetermined | | | |
Notes
https://github.com/lua/lua/commit/a2195644d89812e5b157ce7bac35543e06db05e3 (v5.4.1)
http://lua-users.org/lists/lua-l/2020-07/msg00123.html
check 5.3, 5.2, 5.1 and 5.0 lua versions, different code but might be affected in similar way on updating oldpc value