Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 856463 (CVE-2022-33099) - dev-lang/lua: heap buffer overflow in recursive errors
Summary: dev-lang/lua: heap buffer overflow in recursive errors
Status: CONFIRMED
Alias: CVE-2022-33099
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Gentoo Security
URL: https://lua-users.org/lists/lua-l/202...
Whiteboard: B3 [ebuild]
Keywords:
Depends on:
Blocks:
 
Reported: 2022-07-05 01:59 UTC by John Helmert III
Modified: 2022-07-05 01:59 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2022-07-05 01:59:38 UTC
CVE-2022-33099 (https://lua-users.org/lists/lua-l/2022-05/msg00073.html):

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.

According to the upstream changelog at https://www.lua.org/bugs.html , this was introduced in 5.4.2.

Patch on Github (which appears to not be in any tags):
https://github.com/lua/lua/commit/42d40581dd919fb134c07027ca1ce0844c670daf