CVE-2022-33099
HIGH severity · CVSS 7.5 · Out-of-bounds write
7.5CVSS HIGH
Summary
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.
Impact & exploitability
Attack vectorNetwork
Attack complexityLow
Privileges requiredNone
User interactionNone
Confidentiality impactNone
Integrity impactNone
Availability impactHigh
Exploit probability (EPSS)2%
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Affected products we track (1)
Recommendation
Apply the vendor fix promptly. Open any affected product above for its exact safe version.
Official patch: https://github.com/lua/lua/commit/42d40581dd919fb134c07027ca1ce0844c670daf ↗
Additional information
- NVD record
- https://github.com/lua/lua/commit/42d40581dd919fb134c07027ca1ce0844c670dafPatch
- https://lua-users.org/lists/lua-l/2022-05/msg00035.htmlAdvisory
- https://lua-users.org/lists/lua-l/2022-05/msg00042.htmlAdvisory
- https://lua-users.org/lists/lua-l/2022-05/msg00073.htmlAdvisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RJNJ66IFDUKWJJZXHGOLRGIA3HWWC36R/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UHYZOEFDVLVAD6EEP4CDW6DNONIVVHPA/
- https://www.lua.org/bugs.html#Lua-stack%20overflow%20when%20C%20stack%20overflows%20while%20handling%20an%20error:~:text=Lua-stack%20overflow%20when%20C%20stack%20overflows%20while%20handling%20an%20error