Vulnerabilities · 2019 · Lua
CVE-2019-6706
Lua vulnerability
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.
Affected products
Lua, Ubuntu Linux. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Lua runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/lua/lua/commit/89aee84cbc9224f638f3b7951b306d2ee8ecb71e · Patch
- packetstormsecurity.com/files/151335/Lua-5.3.5-Use-After-Free.html · Exploit
- access.redhat.com/security/cve/cve-2019-6706 · Third Party Advisory
- github.com/Lua-Project/cve-analysis/blob/a43c9ccd00274b31fa2f24c6c8f20ce36655682d/CVE-2019 · Exploit
- lua-users.org/lists/lua-l/2019-01/msg00039.html
- lists.debian.org/debian-lts-announce/2023/06/msg00031.html
- nvd.nist.gov/vuln/detail/CVE-2019-6706
- cve.org/CVERecord?id=CVE-2019-6706
More vulnerabilities in Lua products
CVE-2022-33099CVE-2022-28805CVE-2021-45985CVE-2021-44964CVE-2021-44647CVE-2021-43519CVE-2020-24371CVE-2020-24370All 15
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.