CVE-2024-42484 ESP-NOW OOB Vulnerability In Group Type Message

Medium 6.5 Published Updated

Attackers can trigger memory corruption in ESP-NOW firmware by sending malformed group messages with invalid address counts, potentially leading to code execution or crashes.

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-2024-42484?

CVE-2024-42484 is a medium-severity memory corruption vulnerability in espressif esp-now, published on 12 Sep 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

ESP-NOW Component provides a connectionless Wi-Fi communication protocol. An Out-of-Bound (OOB) vulnerability was discovered in the implementation of the ESP-NOW group type message because there is no check for the addrs_num field of the group type message. This can result in memory corruption related attacks. Normally there are two fields in the group information that need to be checked, i.e., the addrs_num field and the addrs_list fileld. Since we only checked the addrs_list field, an attacker can send a group type message with an invalid addrs_num field, which will cause the message handled by the firmware to be much larger than the current buffer, thus causing a memory corruption issue that goes beyond the payload length.

Weakness: CWE-125

Which versions are affected by CVE-2024-42484?

How do I fix CVE-2024-42484?

No fix has been published for CVE-2024-42484 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-2024-42484 being exploited?

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

Sources

Also known as GHSA-q6f6-4qc5-vhx5.

Is CVE-2024-42484 in your software?

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

Check your SBOMs for free