CVE-2019-6706
HIGH severity · CVSS 7.5 · Use-after-free
7.5CVSS HIGH
Summary
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.
Impact & exploitability
Attack vectorNetwork
Attack complexityLow
Privileges requiredNone
User interactionNone
Confidentiality impactNone
Integrity impactNone
Availability impactHigh
Exploit probability (EPSS)17%
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Affected products we track (1)
Recommendation
Apply the vendor fix promptly. Open any affected product above for its exact safe version.
Official patch: https://github.com/lua/lua/commit/89aee84cbc9224f638f3b7951b306d2ee8ecb71e ↗
Additional information
- NVD record
- https://github.com/lua/lua/commit/89aee84cbc9224f638f3b7951b306d2ee8ecb71ePatch
- http://lua-users.org/lists/lua-l/2019-01/msg00039.html
- https://access.redhat.com/security/cve/cve-2019-6706Advisory
- https://lists.debian.org/debian-lts-announce/2023/06/msg00031.html
- http://packetstormsecurity.com/files/151335/Lua-5.3.5-Use-After-Free.htmlAdvisory
- https://github.com/Lua-Project/cve-analysis/blob/a43c9ccd00274b31fa2f24c6c8f20ce36655682d/CVE-2019-6706.pdfAdvisory