nginx njs 0.7.2 is vulnerable to Buffer Overflow. Type confused in Array.prototype.concat() when a slow array appended element is fast array.
[
{
"target": {
"file": "src/test/njs_unit_test.c"
},
"signature_type": "Line",
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2022-27008-1dc9d0ab",
"digest": {
"line_hashes": [
"286191045354529882396740339644735296472",
"316780131915622020408303156242938990206",
"181382248073213818382603782539801578146"
],
"threshold": 0.9
},
"source": "https://github.com/nginx/njs/commit/e673ae41a998d1391bd562edb2ed6d49db7cc716"
},
{
"target": {
"file": "src/njs_array.c",
"function": "njs_array_expand"
},
"signature_type": "Function",
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2022-27008-7352925d",
"digest": {
"length": 927.0,
"function_hash": "83705897729495263705284045029005404880"
},
"source": "https://github.com/nginx/njs/commit/e673ae41a998d1391bd562edb2ed6d49db7cc716"
},
{
"target": {
"file": "src/njs_array.c",
"function": "njs_array_prototype_concat"
},
"signature_type": "Function",
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2022-27008-7bd205ac",
"digest": {
"length": 2079.0,
"function_hash": "60624386110504712699579016151394775546"
},
"source": "https://github.com/nginx/njs/commit/e673ae41a998d1391bd562edb2ed6d49db7cc716"
},
{
"target": {
"file": "src/njs_array.c"
},
"signature_type": "Line",
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2022-27008-f5ae3ac1",
"digest": {
"line_hashes": [
"48241974990846658713313821784833087175",
"255892893843865148440688413348679083444",
"38328431894080283965435394860074998608",
"148660513481489026456076781025019725824",
"195848396845944515574882684204123083977",
"180341844466080205318362789255831835170",
"143960762337730777257097786448965919329",
"49696200087777734619665511529601056911",
"122705887846865894578818938490005853615"
],
"threshold": 0.9
},
"source": "https://github.com/nginx/njs/commit/e673ae41a998d1391bd562edb2ed6d49db7cc716"
}
]