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).
{ "vanir_signatures": [ { "digest": { "length": 606.0, "function_hash": "160457310741932794514906761248697216809" }, "source": "https://github.com/lua/lua/commit/a585eae6e7ada1ca9271607a4f48dfb17868ab7b", "signature_type": "Function", "target": { "function": "luaG_findlocal", "file": "ldebug.c" }, "deprecated": false, "signature_version": "v1", "id": "CVE-2020-24370-3408fa99" }, { "digest": { "length": 298.0, "function_hash": "176948320927037737175998274991413929359" }, "source": "https://github.com/lua/lua/commit/a585eae6e7ada1ca9271607a4f48dfb17868ab7b", "signature_type": "Function", "target": { "function": "findvararg", "file": "ldebug.c" }, "deprecated": false, "signature_version": "v1", "id": "CVE-2020-24370-a6e6ec70" }, { "digest": { "line_hashes": [ "308106254715576835832771124558186333737", "28150857163617153757180128882987340278", "67856167705625202229537381893379792047", "118168772934001778875555195425693302437", "316101619877408557194703765822106706457", "103962487352111355186447672861982043630", "180146486087139942444320654781720975268", "293123111573401127190810486268369394313", "110117011450095061191785096815592359580" ], "threshold": 0.9 }, "source": "https://github.com/lua/lua/commit/a585eae6e7ada1ca9271607a4f48dfb17868ab7b", "signature_type": "Line", "target": { "file": "ldebug.c" }, "deprecated": false, "signature_version": "v1", "id": "CVE-2020-24370-caf2fa2e" } ] }