CVE-2020-15945

NameCVE-2020-15945
DescriptionLua 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.
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 severitylow

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
lua5.1 (PTS)bullseye, sid, buster, stretch5.1.5-8.1undetermined
lua5.2 (PTS)bullseye, sid, buster, stretch5.2.4-1.1undetermined
lua5.3 (PTS)stretch5.3.3-1undetermined
bullseye, sid, buster5.3.3-1.1undetermined
lua5.4 (PTS)bullseye, sid5.4.0-2vulnerable
lua50 (PTS)bullseye, sid, buster, stretch5.0.3-8undetermined

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
lua5.1source(unstable)undetermined
lua5.2source(unstable)undetermined
lua5.3source(unstable)undetermined
lua5.4source(unstable)(unfixed)
lua50source(unstable)undetermined

Notes

https://github.com/lua/lua/commit/a2195644d89812e5b157ce7bac35543e06db05e3
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

Search for package or bug name: Reporting problems