high7.5Public exploit code
CVE-2019-6706
Lua 5.3.5 has a use-after-free in lua_upvaluejoin in lapi.c.
Public exploit code
Working exploit or proof of concept code has been published for this vulnerability. Treat unpatched systems as at risk.
- Lua 5.3.5 - 'debug.upvaluejoin' Use After Free2019-01-25 · dos · multiple
Impact
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
| Vendor | Product | Affected versions |
|---|---|---|
| Lua | Lua | Version 5.3.5 |
| Canonical | Ubuntu Linux | Versions 16.04, 18.04, 18.10 |
Weakness classification
References
- NVD record
- CVE.org record
- http://lua-users.org/lists/lua-l/2019-01/msg00039.html
- http://packetstormsecurity.com/files/151335/Lua-5.3.5-Use-After-Free.html
- https://access.redhat.com/security/cve/cve-2019-6706
- https://github.com/Lua-Project/cve-analysis/blob/a43c9ccd00274b31fa2f24c6c8f20ce36655682d/CVE-2019-6706.pdf
- https://github.com/lua/lua/commit/89aee84cbc9224f638f3b7951b306d2ee8ecb71e
- https://lists.debian.org/debian-lts-announce/2023/06/msg00031.html
- http://lua-users.org/lists/lua-l/2019-01/msg00039.html
- http://packetstormsecurity.com/files/151335/Lua-5.3.5-Use-After-Free.html
- https://access.redhat.com/security/cve/cve-2019-6706
- https://github.com/Lua-Project/cve-analysis/blob/a43c9ccd00274b31fa2f24c6c8f20ce36655682d/CVE-2019-6706.pdf
- https://github.com/lua/lua/commit/89aee84cbc9224f638f3b7951b306d2ee8ecb71e
- https://lists.debian.org/debian-lts-announce/2023/06/msg00031.html