CVE-2022-38072 ADMesh improper array index validation
A heap buffer overflow in ADMesh and libslic3r allows attackers to execute arbitrary code or cause denial of service via a malicious STL file.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-38072?
CVE-2022-38072 is a medium-severity memory corruption vulnerability in ADMesh, published on 3 Apr 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
An improper array index validation vulnerability exists in the stl_fix_normal_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.
Which versions are affected by CVE-2022-38072?
2 open source packages ship an affected version, including admesh. It affects 2 products.
| Package | Affected | Fixed in |
|---|---|---|
admesh PyPI | All versions | 0.98.5 |
admesh PyPI | All versions | 0.98.5 |
Products include Admesh Project Admesh, Slic3r Libslic3r.
How do I fix CVE-2022-38072?
Upgrade admesh to 0.98.5 or later.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2022-38072 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-38072 exists.
Other vulnerabilities in ADMesh
Sources
Also known as DEBIAN-CVE-2022-38072, GHSA-v5hv-4pw3-q6h9, UBUNTU-CVE-2022-38072.