Buffer overflow in Lua
CVE-2022-33099
An issue in the component luaG_runerror of Lua v5.4.4 and below leads to a heap-buffer overflow when a recursive error occurs.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.028, 86.9th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Lua
- Fedoraproject Fedora — versions 35, 36
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 2 other repositories (ARPSyndicate/cvemon, yikesoftware/yikesoftware). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- github.com/lua/lua/commit/42d40581dd919fb134c07027ca1ce0844c670daf (Patch, Third Party Advisory)
- lua-users.org/lists/lua-l/2022-05/msg00035.html (Exploit, Mailing List, Vendor Advisory)
- lua-users.org/lists/lua-l/2022-05/msg00042.html (Exploit, Mailing List, Vendor Advisory)
- lua-users.org/lists/lua-l/2022-05/msg00073.html (Exploit, Mailing List, Vendor Advisory)
- www.lua.org/bugs.html
- FEDORA-2022-b9ed35a7ad (vendor-advisory)
- FEDORA-2022-5b5889f43a (vendor-advisory)