PT-2022-3822 · Lua+6 · Lua+6

Roberto-Ieru

·

Published

2022-02-15

·

Updated

2024-07-29

·

CVE-2022-28805

CVSS v2.0

9.4

Critical

VectorAV:N/AC:L/Au:N/C:C/I:N/A:C
Name of the Vulnerable Software and Affected Versions Lua versions 5.4.0 through 5.4.4
Description The issue is related to a heap-based buffer over-read in the singlevar function in lparser.c of Lua. This might affect systems that compile untrusted Lua code, potentially allowing a remote attacker to execute arbitrary code. The problem is caused by a missing luaK exp2anyregup call.
Recommendations For Lua versions 5.4.0 through 5.4.3, update to version 5.4.4 or later to resolve the issue. For Lua version 5.4.4, although it is mentioned as part of the vulnerable range, the exact fix version is not explicitly stated, but it is implied that updating beyond this version would mitigate the risk. At the moment, there is no information about additional mitigation measures for this specific vulnerability.

Exploit

Fix

DoS

Out of bounds Read

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALSA-2023:2582
ALT-PU-2024-3994
AZL-40812
AZL-9333
BDU:2022-04620
BIT-LUA-2022-28805
CVE-2022-28805
OESA-2022-1632
RHSA-2023:2582
RHSA-2023_2582
USN-6916-1

Affected Products

Alt Linux
Almalinux
Debian
Linuxmint
Lua
Red Hat
Ubuntu