CVE-2021-45948 Memory corruption in n/a

Medium 5.5 Published Updated

A heap-based buffer overflow in the M3D loader allows attackers to execute arbitrary code or cause denial of service via crafted files.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2021-45948?

CVE-2021-45948 is a medium-severity memory corruption vulnerability in n/a, published on 31 Dec 2021. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

Open Asset Import Library (aka assimp) 5.1.0 and 5.1.1 has a heap-based buffer overflow in _m3d_safestr (called from m3d_load and Assimp::M3DWrapper::M3DWrapper).

Weakness: CWE-787

Which versions are affected by CVE-2021-45948?

It affects 1 product.

Products include Assimp Assimp.

How do I fix CVE-2021-45948?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2021-45948 being exploited?

There is no known exploitation of CVE-2021-45948 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2021-45948, GHSA-7jv6-5f7h-7g3g.

Is CVE-2021-45948 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free