CVE-2019-6706 Lua 5.3.5 has a use-after-free in lua_upvaluejoin in lapi.c.

High 7.5 Published Updated
Exploited in the wild
Not known
Fix
Available

What is CVE-2019-6706?

CVE-2019-6706 is a high-severity vulnerability in Canonical Ubuntu Linux, published on 23 Jan 2019.

Official 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.

Weakness: CWE-416

Which versions are affected by CVE-2019-6706?

It affects 2 products.

Linux distribution packages (19)
lua AlmaLinux:8All versions5.3.4-11.el8
lua-devel AlmaLinux:8All versions5.3.4-11.el8
lua Red Hat:enterprise_linux:8::appstreamAll versions0:5.3.4-11.el8
lua-debuginfo Red Hat:enterprise_linux:8::appstreamAll versions0:5.3.4-11.el8
lua-debugsource Red Hat:enterprise_linux:8::appstreamAll versions0:5.3.4-11.el8
lua-libs-debuginfo Red Hat:enterprise_linux:8::appstreamAll versions0:5.3.4-11.el8
lua Red Hat:enterprise_linux:8::baseosAll versions0:5.3.4-11.el8
lua-debuginfo Red Hat:enterprise_linux:8::baseosAll versions0:5.3.4-11.el8
lua-debugsource Red Hat:enterprise_linux:8::baseosAll versions0:5.3.4-11.el8
lua-libs Red Hat:enterprise_linux:8::baseosAll versions0:5.3.4-11.el8
lua-libs-debuginfo Red Hat:enterprise_linux:8::baseosAll versions0:5.3.4-11.el8
lua Red Hat:enterprise_linux:8::crbAll versions0:5.3.4-11.el8
lua-debuginfo Red Hat:enterprise_linux:8::crbAll versions0:5.3.4-11.el8
lua-debugsource Red Hat:enterprise_linux:8::crbAll versions0:5.3.4-11.el8
lua-devel Red Hat:enterprise_linux:8::crbAll versions0:5.3.4-11.el8
lua-libs-debuginfo Red Hat:enterprise_linux:8::crbAll versions0:5.3.4-11.el8
lua Rocky Linux:8All versions0:5.3.4-11.el8
lua53 SUSE:Linux Enterprise Module for Basesystem 15All versions5.3.4-3.3.2
lua53 openSUSE:Leap 15.0All versions5.3.4-lp150.2.3.1

Products include Canonical Ubuntu Linux, Lua Lua.

How do I fix CVE-2019-6706?

Upgrade to a fixed version.

Is CVE-2019-6706 being exploited?

There is no known exploitation of CVE-2019-6706 in the wild and no public exploit code.

Public exploit code: 1 Exploit-DB entry.

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as ALPINE-CVE-2019-6706, ALSA-2019:3706, AZL-6669, DEBIAN-CVE-2019-6706, GHSA-f6gj-vrmg-ccf7, JLSEC-2026-553 and 6 more.

Is CVE-2019-6706 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free