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.
[
{
"source": "https://github.com/lua/lua/commit/1f3c6f4534c6411313361697d98d1145a1f030fa",
"target": {
"function": "singlevar",
"file": "lparser.c"
},
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2022-28805-6dde851f",
"signature_type": "Function",
"digest": {
"length": 347.0,
"function_hash": "53201180014080356134198209586064207783"
}
},
{
"source": "https://github.com/lua/lua/commit/1f3c6f4534c6411313361697d98d1145a1f030fa",
"target": {
"file": "lparser.c"
},
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2022-28805-a5c78703",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"32201794497045802336489965260675966661",
"222355253276990523824162340041015369710",
"28722556712081149350779902624787499513",
"154526588328123496999063531195759804808"
]
}
}
]