LuaJIT through 2.1 and OpenRusty luajit2 before v2.1-20240626 have a stack-buffer-overflow in ljstrfmtwfnum in ljstrfmtnum.c.
[
{
"signature_version": "v1",
"deprecated": false,
"target": {
"file": "src/lj_strfmt_num.c"
},
"digest": {
"line_hashes": [
"184377265502471948946011847305557628028",
"126985615680567155763244816895876325150",
"256480103875299304460977140873185636357",
"150376957051957027109142554037398449154"
],
"threshold": 0.9
},
"signature_type": "Line",
"source": "https://github.com/luajit/luajit/commit/343ce0edaf3906a62022936175b2f5410024cbfc",
"id": "CVE-2024-25176-a4706ff3"
},
{
"signature_version": "v1",
"deprecated": false,
"target": {
"function": "lj_strfmt_wfnum",
"file": "src/lj_strfmt_num.c"
},
"digest": {
"function_hash": "38540755679721982889331743041600852543",
"length": 9111.0
},
"signature_type": "Function",
"source": "https://github.com/luajit/luajit/commit/343ce0edaf3906a62022936175b2f5410024cbfc",
"id": "CVE-2024-25176-e6c324de"
}
]
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-25176.json"
[
{
"signature_version": "v1",
"deprecated": false,
"target": {
"file": "src/lj_strfmt_num.c"
},
"digest": {
"line_hashes": [
"184377265502471948946011847305557628028",
"126985615680567155763244816895876325150",
"256480103875299304460977140873185636357",
"150376957051957027109142554037398449154"
],
"threshold": 0.9
},
"signature_type": "Line",
"source": "https://github.com/openresty/luajit2/commit/343ce0edaf3906a62022936175b2f5410024cbfc",
"id": "CVE-2024-25176-19801fc3"
},
{
"signature_version": "v1",
"deprecated": false,
"target": {
"function": "lj_strfmt_wfnum",
"file": "src/lj_strfmt_num.c"
},
"digest": {
"function_hash": "38540755679721982889331743041600852543",
"length": 9111.0
},
"signature_type": "Function",
"source": "https://github.com/openresty/luajit2/commit/343ce0edaf3906a62022936175b2f5410024cbfc",
"id": "CVE-2024-25176-da55b03f"
}
]
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-25176.json"