CVE-2021-21903CWE-120

A stack-based buffer overflow vulnerability exists in the CMA check_udp_crc function of Garrett Metal Detectors’ iC Module CMA Version 5.0

Critical · published December 22, 2021

CVSS v3.0
9.8
EPSS
2%
Percentile
78.2
In the wild
Unconfirmed
What it is

🚨 A crafty packet is all it takes to trigger a stack-based buffer overflow in Garrett Metal Detectors’ iC Module CMA! 🔥 Think of it like a jigsaw puzzle with a piece that’s too big — when forced in, it can cause the whole table to collapse. In this case, the special packet overflows the buffer and can lead to serious chaos in the system! If exploited, this vulnerability could allow an attacker to execute arbitrary code, creating a doorway for them to take control of the affected system. The consequences are absolutely devastating, as they could manipulate settings or even crash the device entirely. Imagine the havoc in a security-sensitive environment!

Put simply

Think of it like a jigsaw puzzle with a piece that’s too big — when forced in, it can cause the whole table to collapse. In this case, the special packet overflows the buffer and can lead to serious chaos in the system! This critical vulnerability arises from improper handling of input in the check_udp_crc function, where an attacker can send a specially crafted packet that causes a stack-based buffer overflow during a call to strcpy. This allows for potential code execution on the device.

What to do

If exploited, this vulnerability could allow an attacker to execute arbitrary code, creating a doorway for them to take control of the affected system. The consequences are absolutely devastating, as they could manipulate settings or even crash the device entirely. Imagine the havoc in a security-sensitive environment! To mitigate this risk, update the iC Module CMA to the latest version as soon as possible. Additionally, implement input validation to ensure that only properly formatted packets are processed. Regular security assessments would be beneficial too! You've got this! By following these steps, you’ll be on your way to fortifying your defenses in no time! 🛡️

The record
Technical detail
CVSS v3.0
9.8 · CRITICAL
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.01787 · 78.2th percentile
Weakness
CWE-120 · Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')
Published
2021-12-22T18:06Z
EPSS history
Timeline
  • 22 DEC 18:06Z
    A stack-based buffer overflow vulnerability exists in the CMA check_udp_crc function of Garrett Metal Detectors’ iC Module CMA Version 5.0
    cvelistv5