Your submission was sent successfully! Close

CVE-2020-15945

Published: 24 July 2020

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.

Notes

AuthorNote
sbeattie
older luas need checking as the code has changed but may still be vulnerable
mdeslaur
couldn't reproduce on lua earlier than 5.4. No indication that
earlier versions are vulnerable. Marking not-affected.
Priority

Low

CVSS 3 base score: 5.5

Status

Package Release Status
lua5.1
Launchpad, Ubuntu, Debian
bionic Not vulnerable

focal Not vulnerable

groovy Not vulnerable

hirsute Not vulnerable

impish Not vulnerable

jammy Not vulnerable

precise Ignored
(end of ESM support, was needs-triage)
trusty Not vulnerable

upstream Needs triage

xenial Not vulnerable

lua5.2
Launchpad, Ubuntu, Debian
bionic Not vulnerable

focal Not vulnerable

groovy Not vulnerable

hirsute Not vulnerable

impish Not vulnerable

jammy Not vulnerable

precise Does not exist

trusty Not vulnerable

upstream Needs triage

xenial Not vulnerable

lua5.3
Launchpad, Ubuntu, Debian
bionic Not vulnerable

focal Not vulnerable

groovy Not vulnerable

hirsute Not vulnerable

impish Not vulnerable

jammy Not vulnerable

precise Does not exist

trusty Does not exist

upstream Needs triage

xenial Not vulnerable

lua5.4
Launchpad, Ubuntu, Debian
bionic Does not exist

focal Does not exist

groovy Ignored
(reached end-of-life)
hirsute Not vulnerable
(5.4.1-1)
impish Not vulnerable
(5.4.1-1)
jammy Not vulnerable
(5.4.1-1)
precise Does not exist

trusty Does not exist

upstream Needs triage

xenial Does not exist

Patches:
upstream: https://github.com/lua/lua/commit/a2195644d89812e5b157ce7bac35543e06db05e3
lua50
Launchpad, Ubuntu, Debian
bionic Not vulnerable

focal Not vulnerable

groovy Not vulnerable

hirsute Not vulnerable

impish Not vulnerable

jammy Does not exist

precise Does not exist

trusty Does not exist

upstream Needs triage

xenial Not vulnerable