CVE-2022-38072

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-38072
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-38072.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-38072
Aliases
Downstream
Published
2023-04-03T16:15:07.343Z
Modified
2025-11-20T12:08:57.214264Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/admesh/admesh

Affected ranges

Type
GIT
Repo
https://github.com/admesh/admesh
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

v0.*

v0.95
v0.97.3
v0.97.4
v0.97.5
v0.98.0
v0.98.0alpha
v0.98.0beta
v0.98.0rc1
v0.98.1
v0.98.2

Database specific

vanir_signatures

[
    {
        "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"
            ]
        }
    }
]