An improper array index validation vulnerability exists in the stlfixnormal_directions functionality of ADMesh Master Commit 767a105 and v0.98.4. A specially-crafted stl file can lead to a heap buffer overflow. An attacker can provide a malicious file to trigger this vulnerability.
[
{
"source": "https://github.com/admesh/admesh/commit/5fab257268a0ee6f832c18d72af89810a29fbd5f",
"target": {
"function": "stl_fix_normal_directions",
"file": "src/normals.c"
},
"signature_type": "Function",
"id": "CVE-2022-38072-2fd3b084",
"deprecated": false,
"signature_version": "v1",
"digest": {
"length": 1969.0,
"function_hash": "128438977467078069005944980978530379015"
}
},
{
"source": "https://github.com/admesh/admesh/commit/5fab257268a0ee6f832c18d72af89810a29fbd5f",
"target": {
"file": "src/normals.c"
},
"signature_type": "Line",
"id": "CVE-2022-38072-f7640dd7",
"deprecated": false,
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"29381961251666579836304160910035144137",
"331296357432087497437842914233706502226",
"303314701913237536942182058952154523497",
"149908783363205597030533835287843711044"
]
}
}
]