Skip to content
OpenAdvisories
Unscored Public exploit CVE-2019-6706 EUVD-2019-16264GHSA-f6gj-vrmg-ccf7

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 t…

Published Jan 23, 2019 · Updated Aug 4, 2024 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 lua5.3 5.3.6-1 —
Debian 13 lua5.3 5.3.6-1 —
Debian 12 lua5.3 5.3.6-1 —
Debian 10 lua5.3 5.3.3-1.1+deb10u1 DLA-3469-1
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS lua5.3 5.3.3-1ubuntu0.18.04.1 USN-3941-1
Ubuntu 16.04 LTS lua5.3 5.3.1-1ubuntu2.1 USN-3941-1
ReleasePackageFixed inAdvisory
RHEL 8 lua +2 5.3.4-11.el8 RHSA-2019:3706

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 8 lua +1 5.3.4-11.el8 ALSA-2019:3706

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 8 lua 5.3.4-11.el8 RLSA-2019:3706
ReleasePackageFixed inAdvisory
SLES 15 lua53 5.3.4-3.3.2 SUSE-SU-2019:0247-1
ReleasePackageFixed inAdvisory
openSUSE Leap 15.0 lua53 5.3.4-lp150.2.3.1 openSUSE-SU-2019:0175-1
ReleasePackageFixed inAdvisory
Alpine v3.24 lua5.3 +1 5.3.5-r2 —
Alpine v3.23 lua5.3 +1 5.3.5-r2 —
Alpine v3.22 lua5.3 +1 5.3.5-r2 —
Alpine v3.21 lua5.3 +1 5.3.5-r2 —
Alpine v3.20 lua5.3 +1 5.3.5-r2 —
Show 14 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 lua5.3 +1 5.3.5-r2 —
Alpine v3.18 lua5.3 +1 5.3.5-r2 —
Alpine v3.17 lua5.3 +1 5.3.5-r2 —
Alpine v3.16 lua5.3 +1 5.3.5-r2 —
Alpine v3.15 lua5.3 +1 5.3.5-r2 —
Alpine v3.14 lua5.3 +1 5.3.5-r2 —
Alpine v3.13 lua5.3 5.3.5-r2 —
Alpine v3.12 lua5.3 5.3.5-r2 —
Alpine v3.11 lua5.3 5.3.5-r2 —
Alpine v3.10 lua5.3 5.3.5-r2 —
Alpine v3.9 lua5.3 5.3.5-r2 —
Alpine v3.8 lua5.3 5.3.5-r2 —
Alpine v3.7 lua5.3 5.3.5-r0 —
Alpine v3.6 lua5.3 5.3.5-r2 —

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 2 (CBL-Mariner) lua 5.3.5-11 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 8 lua +2 5.3.4-11.el8 ELSA-2019-3706

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Exploit-DB 1

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 9

References