Public exploit available
Public proof-of-concept or exploit code exists (ExploitDB / Metasploit / Nuclei).

CVE-2019-6706Use After Free in Lua5.1

CWE-416Use After Free10 documents9 sources
Severity
7.5HIGHNVD
EPSS
0.9%
top 24.27%
CISA KEV
Not in KEV
Exploit
PoC available
Public exploit / PoC exists
Timeline
PublishedJan 23
Latest updateMay 13

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.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExploitability: 3.9 | Impact: 3.6

Affected Packages7 packages

debiandebian/lua50< lua5.3 5.3.6-1 (bookworm)
debiandebian/lua5.1< lua5.3 5.3.6-1 (bookworm)
debiandebian/lua5.2< lua5.3 5.3.6-1 (bookworm)
debiandebian/lua5.3< lua5.3 5.3.6-1 (bookworm)
NVDlua/lua5.3.5

Also affects: Ubuntu Linux 16.04, 18.04, 18.10

Patches

🔴Vulnerability Details

2
GHSA
GHSA-f6gj-vrmg-ccf7: Lua 52022-05-13
OSV
CVE-2019-6706: Lua 52019-01-23

💥Exploits & PoCs

1
Exploit-DB
Lua 5.3.5 - 'debug.upvaluejoin' Use After Free2019-01-25

📋Vendor Advisories

4
Ubuntu
Lua vulnerability2019-04-08
Red Hat
lua: use-after-free in lua_upvaluejoin in lapi.c resulting in denial of service2019-01-10
Microsoft
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 ce2019-01-08
Debian
CVE-2019-6706: lua5.1 - Lua 5.3.5 has a use-after-free in lua_upvaluejoin in lapi.c. For example, a cras...2019

💬Community

2
Bugzilla
CVE-2019-6706 lua: use-after-free in lua_upvaluejoin in lapi.c resulting in denial of service2019-01-28
Bugzilla
CVE-2019-6706 lua: use-after-free in lua_upvaluejoin in lapi.c resulting in denial of service [fedora-all]2019-01-28
CVE-2019-6706 — Use After Free in Debian Lua5.1 | cvebase