CVE-2020-15945
Last modified
CVE-2020-15945 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. 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.. EPSS estimates a 0.53% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Lua | Lua | >= 5.3.1, < 5.4.0 |
References
- http://lua-users.org/lists/lua-l/2020-07/msg00123.htmlExploit, Mailing List, Third Party Advisory
- https://github.com/lua/lua/commit/a2195644d89812e5b157ce7bac35543e06db05e3Patch, Third Party Advisory
- http://lua-users.org/lists/lua-l/2020-07/msg00123.htmlExploit, Mailing List, Third Party Advisory
- https://github.com/lua/lua/commit/a2195644d89812e5b157ce7bac35543e06db05e3Patch, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2020-15945?
How severe is CVE-2020-15945?
How do I fix CVE-2020-15945?
Are you affected by CVE-2020-15945?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
