Vulnerability · Published Jun 14, 2023 · Assigned by GitHub_M
CVE-2023-34101Contiki-NG vulnerable to out-of-bounds read when processing ICMP DAO input
High 7.3
In plain English
A high-severity out-of-bounds read in contiki-ng from contiki-ng. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 43% of all known vulnerabilities).
Official description
Contiki-NG is an operating system for internet of things devices. In version 4.8 and prior, when processing ICMP DAO packets in the `dao_input_storing` 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 `dao_input_storing` 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 products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| contiki-ng | contiki-ng | <= 4.8 |
Weakness: CWE-125 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
References
- https://github.com/contiki-ng/contiki-ng/security/advisories/GHSA-fp66-ff6x-7w2w x_refsource_CONFIRM
- https://github.com/contiki-ng/contiki-ng/pull/2435 x_refsource_MISC