{"id":"CVE-2022-35927","summary":"Unverified DIO prefix info lengths in RPL-Classic in Contiki-NG","details":"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.","aliases":["GHSA-9rm9-3phh-p4wm"],"modified":"2026-07-15T01:48:55.998141807Z","published":"2022-08-04T20:35:14Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-120"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/35xxx/CVE-2022-35927.json"},"references":[{"type":"WEB","url":"https://github.com/contiki-ng/contiki-ng/pull/1589/commits/4fffab0e632c4d01910fa957d1fd9ef321eb87d2"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/35xxx/CVE-2022-35927.json"},{"type":"ADVISORY","url":"https://github.com/contiki-ng/contiki-ng/security/advisories/GHSA-9rm9-3phh-p4wm"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-35927"},{"type":"FIX","url":"https://github.com/contiki-ng/contiki-ng/pull/1589"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/contiki-ng/contiki-ng","events":[{"introduced":"0"},{"fixed":"a5313885d44c496ef0f5b8a689c84840e0f9e3fd"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"4.7"}],"source":"AFFECTED_FIELD"}}],"versions":["release/v4.6","release/v4.5","release/v4.4","release/v4.3","release/v4.2","release/v4.1","release/v4.0","develop/v4.0","fork","develop/v3.x-fork","old/v2.6","2.6-rc0","2.6","2.5-release","old/v2.4","2.4","old/v2.3","2.3","old/v2.2.3","2.2.3","old/v2.2.2","2.2.2","old/v2.2.1","2.2.1","old/v2.2","2.2","old/v2.1","2.1","old/v2.0","2.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-35927.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}