CVE-2021-45935 Memory corruption in n/a

Medium 5.5 Published Updated

A heap-based buffer overflow in the Grok library allows attackers to execute arbitrary code or cause a denial of service via crafted input.

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-45935?

CVE-2021-45935 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

Grok 9.5.0 has a heap-based buffer overflow in openhtj2k::T1OpenHTJ2K::decompress (called from std::__1::__packaged_task_func<std::__1::__bind<grk::T1DecompressScheduler::deco and std::__1::packaged_task<int).

Weakness: CWE-787

Which versions are affected by CVE-2021-45935?

It affects 1 product.

Products include Grok Project Grok.

How do I fix CVE-2021-45935?

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-45935 being exploited?

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

Sources

Also known as DEBIAN-CVE-2021-45935, GHSA-xx3m-p5mx-cgw5.

Is CVE-2021-45935 in your software?

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

Check your SBOMs for free