CVE-2023-24821 RIOT-OS vulnerable to Integer Underflow during defragmentation

High 7.5 Published Updated

An attacker can cause a denial of service in RIOT-OS by sending crafted 6LoWPAN frames that trigger an integer underflow and out-of-bounds write.

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-24821?

CVE-2023-24821 is a high-severity 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 large out of bounds write beyond the packet buffer. The write will create a hard fault exception after reaching the last page of RAM. The hard fault is not handled and the system will be stuck until reset, thus the impact is denial of service. Version 2022.10 fixes this issue. As a workaround, disable support for fragmented IP datagrams or apply the patches manually.

Weakness: CWE-787, CWE-191

Which versions are affected by CVE-2023-24821?

It affects 1 product.

Products include Riot-Os Riot.

How do I fix CVE-2023-24821?

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

Is CVE-2023-24821 being exploited?

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

Sources

Also known as GHSA-2fpr-82xr-p887.

Is CVE-2023-24821 in your software?

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

Check your SBOMs for free