CVE-2023-48229 Out-of-bounds write in the radio driver for Contiki-NG nRF platforms
An out-of-bounds write in the Contiki-NG radio driver allows remote attackers to execute code or cause denial of service via crafted radio packets.
- 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-48229?
CVE-2023-48229 is a high-severity memory corruption vulnerability in contiki-ng, published on 14 Feb 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Contiki-NG is an open-source, cross-platform operating system for Next-Generation IoT devices. An out-of-bounds write exists in the driver for IEEE 802.15.4 radios on nRF platforms in the Contiki-NG operating system. The problem is triggered when parsing radio frames in the `read_frame` function in the `arch/cpu/nrf/net/nrf-ieee-driver-arch.c` module. More specifically, the `read_frame` function performs an incomplete validation of the payload length of the packet, which is a value that can be set by an external party that sends radio packets to a Contiki-NG system. Although the value is validated to be in the range of the MTU length, it is not validated to fit into the given buffer into which the packet will be copied. The problem has been patched in the "develop" branch of Contiki-NG and is expected to be included in subsequent releases. Users are advised to update their develop branch or to update to a subsequent release when available. Users unable to upgrade should consider manually applying the changes in PR #2741.
Weakness: CWE-787
Which versions are affected by CVE-2023-48229?
It affects 1 product.
Products include Contiki-Ng Contiki-Ng.
How do I fix CVE-2023-48229?
No fix has been published for CVE-2023-48229 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-48229 being exploited?
There is no known exploitation of CVE-2023-48229 in the wild and no public exploit code.
Other vulnerabilities in contiki-ng
Sources
Also known as GHSA-rcwv-xwc9-5hp2.