Use After Free Affecting lua5.3 package, versions <5.3.3-1.1+deb11u1
Snyk CVSS
Attack Complexity
Low
Availability
High
Threat Intelligence
Exploit Maturity
Mature
EPSS
3.32% (92nd
percentile)
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-DEBIAN11-LUA53-517140
- published 23 Jan 2019
- disclosed 23 Jan 2019
Introduced: 23 Jan 2019
CVE-2019-6706 Open this link in a new tabHow to fix?
Upgrade Debian:11
lua5.3
to version 5.3.3-1.1+deb11u1 or higher.
NVD Description
Note: Versions mentioned in the description apply only to the upstream lua5.3
package and not the lua5.3
package as distributed by Debian
.
See How to fix?
for Debian:11
relevant fixed versions and status.
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.
References
- https://security-tracker.debian.org/tracker/CVE-2019-6706
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-6706
- https://www.exploit-db.com/exploits/46246/
- http://lua.2524044.n2.nabble.com/Bug-Report-Use-after-free-in-debug-upvaluejoin-tc7685506.html
- https://access.redhat.com/errata/RHSA-2019:3706
- http://people.ubuntu.com/~ubuntu-security/cve/CVE-2019-6706
- https://usn.ubuntu.com/3941-1/
- https://github.com/lua/lua/commit/89aee84cbc9224f638f3b7951b306d2ee8ecb71e
- http://packetstormsecurity.com/files/151335/Lua-5.3.5-Use-After-Free.html
- http://lua-users.org/lists/lua-l/2019-01/msg00039.html
- https://github.com/Lua-Project/cve-analysis/blob/a43c9ccd00274b31fa2f24c6c8f20ce36655682d/CVE-2019-6706.pdf
- https://access.redhat.com/security/cve/cve-2019-6706
- https://lists.debian.org/debian-lts-announce/2023/06/msg00031.html
- https://www.exploit-db.com/exploits/46246