ldebug.c in Lua 5.4.0 allows a negation overflow and segmentation fault in getlocal and setlocal, as demonstrated by getlocal(3,2^31).
[
{
"signature_version": "v1",
"source": "https://github.com/lua/lua/commit/a585eae6e7ada1ca9271607a4f48dfb17868ab7b",
"deprecated": false,
"id": "CVE-2020-24370-3408fa99",
"target": {
"function": "luaG_findlocal",
"file": "ldebug.c"
},
"digest": {
"function_hash": "160457310741932794514906761248697216809",
"length": 606.0
},
"signature_type": "Function"
},
{
"signature_version": "v1",
"source": "https://github.com/lua/lua/commit/a585eae6e7ada1ca9271607a4f48dfb17868ab7b",
"deprecated": false,
"id": "CVE-2020-24370-a6e6ec70",
"target": {
"function": "findvararg",
"file": "ldebug.c"
},
"digest": {
"function_hash": "176948320927037737175998274991413929359",
"length": 298.0
},
"signature_type": "Function"
},
{
"signature_version": "v1",
"source": "https://github.com/lua/lua/commit/a585eae6e7ada1ca9271607a4f48dfb17868ab7b",
"deprecated": false,
"id": "CVE-2020-24370-caf2fa2e",
"target": {
"file": "ldebug.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"308106254715576835832771124558186333737",
"28150857163617153757180128882987340278",
"67856167705625202229537381893379792047",
"118168772934001778875555195425693302437",
"316101619877408557194703765822106706457",
"103962487352111355186447672861982043630",
"180146486087139942444320654781720975268",
"293123111573401127190810486268369394313",
"110117011450095061191785096815592359580"
]
},
"signature_type": "Line"
}
]