Logo
vulnerabilityCVE-2022-28805
Name
CVE-2022-28805
Source
NVD ( link)Debian ( link)
Description
singlevar in lparser.c in Lua from (including) 5.4.0 up to (excluding) 5.4.4 lacks a certain luaK_exp2anyregup call, leading to a heap-based buffer over-read that might affect a system that compiles untrusted Lua code.
Published Date
Updated Date
Workaround
-

Analysis#


Affected Component
Analysis
lua
Patched

Vulnerability Ratings#


9.1
CVSSv31
6.4
CVSSv2

Others affected components#


Name
Project
Project Version
Version
Status
buildroot
2025.02.x
5.1.5
Not Affected
buildroot
master
5.1.5
Not Affected
openwrt
master
5.1.5-r11
Not Affected
openwrt
master
5.3.5-r6
Not Affected
openwrt
master
5.4.7-r1
Not Affected
openwrt
openwrt-25.12
5.1.5-r11
Not Affected
openwrt
openwrt-25.12
5.3.5-r6
Not Affected
openwrt
openwrt-25.12
5.4.7-r1
Not Affected
yocto
master
5.5.0
Not Affected
yocto
scarthgap
5.4.6
Not Affected

Resolved with patches#


lua (yocto:kirkstone)

#
Title
Author
Resolve
1
Bug: Lua can generate wrong code when _ENV is <const>
Roberto Ierusalimschy <roberto@inf.puc-rio.br>
CVE-2022-28805