Your submission was sent successfully! Close

You have successfully unsubscribed! Close

Thank you for signing up for our newsletter!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 Severity Score

5.5

Score breakdown

Status

Package Release Status
lua5.1
Launchpad, Ubuntu, Debian
upstream Needs triage

bionic Not vulnerable

focal Not vulnerable

groovy Not vulnerable

hirsute Not vulnerable

impish Not vulnerable

jammy Not vulnerable

trusty Not vulnerable

xenial Not vulnerable

lua5.2
Launchpad, Ubuntu, Debian
upstream Needs triage

bionic Not vulnerable

focal Not vulnerable

groovy Not vulnerable

hirsute Not vulnerable

impish Not vulnerable

jammy Not vulnerable

trusty Not vulnerable

xenial Not vulnerable

lua5.3
Launchpad, Ubuntu, Debian
trusty Does not exist

upstream Needs triage

jammy Not vulnerable

bionic Not vulnerable

focal Not vulnerable

groovy Not vulnerable

hirsute Not vulnerable

impish Not vulnerable

xenial Not vulnerable

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

trusty Does not exist

upstream Needs triage

xenial Does not exist

focal Does not exist

groovy Ignored
(end of life)
hirsute Not vulnerable
(5.4.1-1)
impish Not vulnerable
(5.4.1-1)
jammy Not vulnerable
(5.4.1-1)
Patches:
upstream: https://github.com/lua/lua/commit/a2195644d89812e5b157ce7bac35543e06db05e3
lua50
Launchpad, Ubuntu, Debian
trusty Does not exist

upstream Needs triage

bionic Not vulnerable

focal Not vulnerable

groovy Not vulnerable

hirsute Not vulnerable

impish Not vulnerable

jammy Does not exist

xenial Not vulnerable

Severity score breakdown

Parameter Value
Base score 5.5
Attack vector Local
Attack complexity Low
Privileges required Low
User interaction None
Scope Unchanged
Confidentiality None
Integrity impact None
Availability impact High
Vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H