Vulnerability Description
Lua 5.4.0 (fixed in 5.4.1) has a segmentation fault in changedline in ldebug.c (e.g., when called by luaG_traceexec) because it incorrectly expects that an oldpc value is always updated upon a return of the flow of control to a function.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Lua | Lua | >= 5.3.1, < 5.4.0 |
References
- http://lua-users.org/lists/lua-l/2020-07/msg00123.htmlExploitMailing ListThird Party Advisory
- https://github.com/lua/lua/commit/a2195644d89812e5b157ce7bac35543e06db05e3PatchThird Party Advisory
- https://www.lua.org/bugs.html#5.4.0-8
- http://lua-users.org/lists/lua-l/2020-07/msg00123.htmlExploitMailing ListThird Party Advisory
- https://github.com/lua/lua/commit/a2195644d89812e5b157ce7bac35543e06db05e3PatchThird Party Advisory
FAQ
What is CVE-2020-15945?
CVE-2020-15945 is a vulnerability with a CVSS score of 5.5 (MEDIUM). Lua 5.4.0 (fixed in 5.4.1) has a segmentation fault in changedline in ldebug.c (e.g., when called by luaG_traceexec) because it incorrectly expects that an oldpc value is always updated upon a return ...
How severe is CVE-2020-15945?
CVE-2020-15945 has been rated MEDIUM with a CVSS base score of 5.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2020-15945?
Check the references section above for vendor advisories and patch information. Affected products include: Lua Lua.