Vulnerability · Published Jul 1, 2022 · Assigned by mitre
CVE-2022-33099
High 7.5
In plain English
A high-severity security flaw in the lua package (AlmaLinux). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.8% (higher than 87% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)7.5High
Exploit odds (30 days)2.8%top 13.3% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:9 | lua | 5.4.2-4.el9_0.3 | ALSA-2022:7329 |
| AlmaLinux:9 | lua-devel | 5.4.2-4.el9_0.3 | ALSA-2022:7329 |
| AlmaLinux:9 | lua-libs | 5.4.2-4.el9_0.3 | ALSA-2022:7329 |
| Debian:12 | lua5.4 | 5.4.4-3 | DEBIAN-CVE-2022-33099 |
| Debian:13 | lua5.4 | 5.4.4-3 | DEBIAN-CVE-2022-33099 |
| Debian:14 | lua5.4 | 5.4.4-3 | DEBIAN-CVE-2022-33099 |
| Rocky Linux:9 | lua | 0:5.4.2-4.el9_0.3 | RLSA-2022:7329 |
Affected products (as reported)
References
- https://github.com/lua/lua/commit/42d40581dd919fb134c07027ca1ce0844c670daf x_refsource_MISC
- https://lua-users.org/lists/lua-l/2022-05/msg00035.html x_refsource_MISC
- https://lua-users.org/lists/lua-l/2022-05/msg00042.html x_refsource_MISC
- https://lua-users.org/lists/lua-l/2022-05/msg00073.html x_refsource_MISC
- 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 x_refsource_MISC
- FEDORA-2022-b9ed35a7ad vendor-advisory, x_refsource_FEDORA
- FEDORA-2022-5b5889f43a vendor-advisory, x_refsource_FEDORA