Vulnerabilities · 2022 · Contiki-ng
CVE-2022-35927
Contiki-ng vulnerability
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 set_ip_from_prefix 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 products
Contiki-ng. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Contiki-ng runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/contiki-ng/contiki-ng/pull/1589/commits/4fffab0e632c4d01910fa957d1fd9ef321eb87d · Patch
- github.com/contiki-ng/contiki-ng/pull/1589 · Third Party Advisory
- github.com/contiki-ng/contiki-ng/security/advisories/GHSA-9rm9-3phh-p4wm · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2022-35927
- cve.org/CVERecord?id=CVE-2022-35927
More vulnerabilities in Contiki-ng products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.