Vulnerabilities > CVE-2020-15889 - Out-of-bounds Read vulnerability in LUA 5.4.0
Attack vector
NETWORK Attack complexity
LOW Privileges required
NONE Confidentiality impact
HIGH Integrity impact
HIGH Availability impact
HIGH Summary
Lua 5.4.0 has a getobjname heap-based buffer over-read because youngcollection in lgc.c uses markold for an insufficient number of list members.
Common Weakness Enumeration (CWE)
Common Attack Pattern Enumeration and Classification (CAPEC)
- Overread Buffers An adversary attacks a target by providing input that causes an application to read beyond the boundary of a defined buffer. This typically occurs when a value influencing where to start or stop reading is set to reflect positions outside of the valid memory location of the buffer. This type of attack may result in exposure of sensitive information, a system crash, or arbitrary code execution.
References
- http://lua-users.org/lists/lua-l/2020-07/msg00078.html
- http://lua-users.org/lists/lua-l/2020-07/msg00078.html
- http://lua-users.org/lists/lua-l/2020-12/msg00157.html
- http://lua-users.org/lists/lua-l/2020-12/msg00157.html
- https://github.com/lua/lua/commit/127e7a6c8942b362aa3c6627f44d660a4fb75312
- https://github.com/lua/lua/commit/127e7a6c8942b362aa3c6627f44d660a4fb75312