CVE-2023-24819 RIOT-OS vulnerable to Buffer Overflow during IPHC receive

Critical 9.8 Published Updated

An attacker can send crafted 6LoWPAN frames to RIOT-OS devices to trigger a buffer overflow, potentially leading to arbitrary code execution or denial of service.

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-2023-24819?

CVE-2023-24819 is a critical memory corruption vulnerability in RIOT-OS RIOT, published on 24 Apr 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

RIOT-OS, an operating system that supports Internet of Things devices, contains a network stack with the ability to process 6LoWPAN frames. Prior to version 2022.10, an attacker can send a crafted frame to the device resulting in an out of bounds write in the packet buffer. The overflow can be used to corrupt other packets and the allocator metadata. Corrupting a pointer will easily lead to denial of service. While carefully manipulating the allocator metadata gives an attacker the possibility to write data to arbitrary locations and thus execute arbitrary code. Version 2022.10 fixes this issue. As a workaround, disable support for fragmented IP datagrams or apply the patches manually.

Weakness: CWE-787, CWE-131

Which versions are affected by CVE-2023-24819?

It affects 1 product.

Products include Riot-Os Riot.

How do I fix CVE-2023-24819?

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

It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-24819 exists.

Sources

Also known as GHSA-fv97-2448-gcf6.

Is CVE-2023-24819 in your software?

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

Check your SBOMs for free