CVE-2023-34101: Contiki-NG vulnerable to out-of-bounds read when processing ICMP DAO input
Contiki-NG is an operating system for internet of things devices. In version 4.8 and prior, when processing ICMP DAO packets in the daoinputstoring function, the Contiki-NG OS does not verify that the packet buffer is big enough to contain the bytes it needs before accessing them. Up to 16 bytes can be read out of bounds in the daoinputstoring function. An attacker can truncate an ICMP packet so that it does not contain enough data, leading to an out-of-bounds read on these lines. The problem has been patched in the "develop" branch of Contiki-NG, and is expected to be included in release 4.9. As a workaround, one can apply the changes in Contiki-NG pull request #2435 to patch the system.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Contiki-NGto a version that resolves this vulnerability.Fixed in 4.9 - Upgrade
Upgrade
Contiki-NGto a version that resolves this vulnerability.Patch pull request #2435 - Compensating control
Apply the workaround by applying the changes from Contiki-NG pull request #2435 to patch the out-of-bounds read in dao_input_storing when processing ICMP DAO input.
Event History
Frequently Asked Questions
What is CVE-2023-34101?
CVE-2023-34101 is a vulnerability in Contiki-NG operating system where it does not verify the packet buffer size before accessing it, leading to a buffer over-read.
What is the severity of CVE-2023-34101?
CVE-2023-34101 has a severity rating of 9.1 (Critical).
How does CVE-2023-34101 affect Contiki-NG?
CVE-2023-34101 affects Contiki-NG versions up to 4.8 by allowing an attacker to cause a buffer over-read by exploiting the ICMP DAO packet processing in the 'dao_input_storing' function.
How can I fix CVE-2023-34101 in Contiki-NG?
To fix CVE-2023-34101 in Contiki-NG, you should update to a version that includes the fix for the vulnerability.
Where can I find more information about CVE-2023-34101?
You can find more information about CVE-2023-34101 in the Contiki-NG GitHub repository and the associated security advisories.