CVE-2021-21901 Memory corruption in Garrett Metal Detectors

Critical 9.8 Published Updated

A stack-based buffer overflow in Garrett Metal Detectors' iC Module allows remote attackers to execute arbitrary code or cause denial of service via malicious packets.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2021-21901?

CVE-2021-21901 is a critical memory corruption vulnerability in Garrett Metal Detectors, published on 22 Dec 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A stack-based buffer overflow vulnerability exists in the CMA check_udp_crc function of Garrett Metal Detectors’ iC Module CMA Version 5.0. A specially-crafted packet can lead to a stack-based buffer overflow during a call to memcpy. An attacker can send a malicious packet to trigger this vulnerability.

Weakness: CWE-787, CWE-120

Which versions are affected by CVE-2021-21901?

It affects 1 product.

Products include Garrett Ic Module Cma.

How do I fix CVE-2021-21901?

No fix has been published for CVE-2021-21901 yet. Limit exposure of the affected software until one is available.

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

Is CVE-2021-21901 being exploited?

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

Sources

Also known as GHSA-6m5j-hmv8-95g6.

Is CVE-2021-21901 in your software?

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

Check your SBOMs for free