CVE-2022-35927: Unverified DIO prefix info lengths in RPL-Classic in Contiki-NG
Contiki-NG is an open-source, cross-platform operating system for IoT devices. In the RPL-Classic routing protocol implementation in the Contiki-NG operating system, an incoming DODAG Information Option (DIO) control message can contain a prefix information option with a length parameter. The value of the length parameter is not validated, however, and it is possible to cause a buffer overflow when copying the prefix in the setipfromprefix function. This vulnerability affects anyone running a Contiki-NG version prior to 4.7 that can receive RPL DIO messages from external parties. To obtain a patched version, users should upgrade to Contiki-NG 4.7 or later. There are no workarounds for this issue.
Affected Software
Remediation
Event History
Frequently Asked Questions
What is CVE-2022-35927?
CVE-2022-35927 is a vulnerability in the RPL-Classic routing protocol implementation in the Contiki-NG operating system.
What is the severity of CVE-2022-35927?
CVE-2022-35927 has a severity rating of 9.8 (critical).
How does CVE-2022-35927 affect Contiki-NG?
CVE-2022-35927 affects Contiki-NG versions up to and excluding 4.7.
What is the Common Weakness Enumeration (CWE) for CVE-2022-35927?
The CWE for CVE-2022-35927 is CWE-119 and CWE-120.
Where can I find more information about CVE-2022-35927?
You can find more information about CVE-2022-35927 on the following links: [1](https://github.com/contiki-ng/contiki-ng/pull/1589), [2](https://github.com/contiki-ng/contiki-ng/pull/1589/commits/4fffab0e632c4d01910fa957d1fd9ef321eb87d2), [3](https://github.com/contiki-ng/contiki-ng/security/advisories/GHSA-9rm9-3phh-p4wm).