Heap-based buffer overflow in Lua - CVE-2022-33099

 

Heap-based buffer overflow in Lua - CVE-2022-33099

Published: November 2, 2022 / Updated: May 1, 2023


Vulnerability identifier: #VU68952
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2022-33099
CWE-ID: CWE-122
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to a boundary error in the luaG_runerror component. A remote attacker can send specially crafted data to the application, trigger a heap-based buffer overflow and perform a denial of service (DoS) attack.


Affected software

Lua
Oracle Linux
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for x86_64
Oracle Solaris
openEuler
Ubuntu
Fedora
NetObserv Operator
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
lua5.4 (Ubuntu package)
lua (Red Hat package)
lua
lua-devel
lua-debugsource
lua-debuginfo
lua-help
OpenShift Data Foundation (formerly OpenShift Container Storage)

How to mitigate CVE-2022-33099

Install update from vendor's website.

NetObserv Operator - update to 1.1.0
lua5.4 (Ubuntu package) - update to Ubuntu Pro
OpenShift Data Foundation (formerly OpenShift Container Storage) - update to 4.13.0
lua (Red Hat package) - update to 5.4.2-4.el9_0.3
lua - update to 5.4.3-7
lua-devel - update to 5.4.3-7
lua-debugsource - update to 5.4.3-7
lua-debuginfo - update to 5.4.3-7
lua-help - update to 5.4.3-7
lua - addressed in versions 5.4.4-3.fc35, 5.4.4-3.fc36

External References

Related Security Bulletins