CVE-2023-24823 RIOT-OS vulnerable to Packet Type Confusion during IPHC send
An attacker can send crafted 6LoWPAN frames to RIOT-OS devices, causing type confusion and out-of-bounds writes that allow 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-24823?
CVE-2023-24823 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 a type confusion between IPv6 extension headers and a UDP header. This occurs while encoding a 6LoWPAN IPHC header. The type confusion manifests 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, apply the patches manually.
Which versions are affected by CVE-2023-24823?
It affects 1 product.
Products include Riot-Os Riot.
How do I fix CVE-2023-24823?
No fix has been published for CVE-2023-24823 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-24823 being exploited?
There is no known exploitation of CVE-2023-24823 in the wild and no public exploit code.
Other vulnerabilities in RIOT-OS RIOT
Sources
Also known as GHSA-jwmv-47p2-hgq2.