CVE-2022-33099 Memory corruption in n/a
A heap-buffer overflow in Lua's error handling allows attackers to execute arbitrary code or cause denial of service via recursive errors.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-33099?
CVE-2022-33099 is a high-severity memory corruption vulnerability in Fedoraproject Fedora, published on 1 Jul 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
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.
Weakness: CWE-787
Which versions are affected by CVE-2022-33099?
1 open source package ship an affected version, including lua. It affects 2 products.
| Package | Affected | Fixed in |
|---|---|---|
lua Bitnami | From 5.4.2 | 5.4.5 |
Linux distribution packages (18)
lua AlmaLinux:9 | All versions | 5.4.2-4.el9_0.3 |
lua-devel AlmaLinux:9 | All versions | 5.4.2-4.el9_0.3 |
lua-libs AlmaLinux:9 | All versions | 5.4.2-4.el9_0.3 |
lua Red Hat:enterprise_linux:9::appstream | All versions | 0:5.4.2-4.el9_0.3 |
lua-debuginfo Red Hat:enterprise_linux:9::appstream | All versions | 0:5.4.2-4.el9_0.3 |
lua-debugsource Red Hat:enterprise_linux:9::appstream | All versions | 0:5.4.2-4.el9_0.3 |
lua-libs-debuginfo Red Hat:enterprise_linux:9::appstream | All versions | 0:5.4.2-4.el9_0.3 |
lua Red Hat:enterprise_linux:9::baseos | All versions | 0:5.4.2-4.el9_0.3 |
lua-debuginfo Red Hat:enterprise_linux:9::baseos | All versions | 0:5.4.2-4.el9_0.3 |
lua-debugsource Red Hat:enterprise_linux:9::baseos | All versions | 0:5.4.2-4.el9_0.3 |
lua-libs Red Hat:enterprise_linux:9::baseos | All versions | 0:5.4.2-4.el9_0.3 |
lua-libs-debuginfo Red Hat:enterprise_linux:9::baseos | All versions | 0:5.4.2-4.el9_0.3 |
lua Red Hat:enterprise_linux:9::crb | All versions | 0:5.4.2-4.el9_0.3 |
lua-debuginfo Red Hat:enterprise_linux:9::crb | All versions | 0:5.4.2-4.el9_0.3 |
lua-debugsource Red Hat:enterprise_linux:9::crb | All versions | 0:5.4.2-4.el9_0.3 |
lua-devel Red Hat:enterprise_linux:9::crb | All versions | 0:5.4.2-4.el9_0.3 |
lua-libs-debuginfo Red Hat:enterprise_linux:9::crb | All versions | 0:5.4.2-4.el9_0.3 |
lua Rocky Linux:9 | All versions | 0:5.4.2-4.el9_0.3 |
Products include Fedoraproject Fedora, Lua Lua.
How do I fix CVE-2022-33099?
Upgrade lua to 5.4.5 or later.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2022-33099 being exploited?
There is no known exploitation of CVE-2022-33099 in the wild and no public exploit code.
Other vulnerabilities in Fedoraproject Fedora
Sources
Also known as ALSA-2022:7329, AZL-10045, AZL-35032, AZL-41192, BIT-lua-2022-33099, DEBIAN-CVE-2022-33099 and 7 more.