{"api_version":"1","generated_at":"2026-05-13T08:50:26+00:00","cve":"CVE-2022-35927","urls":{"html":"https://cve.report/CVE-2022-35927","api":"https://cve.report/api/cve/CVE-2022-35927.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-35927","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-35927"},"summary":{"title":"CVE-2022-35927","description":"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.","state":"PUBLIC","assigner":"security-advisories@github.com","published_at":"2022-08-04 21:15:00","updated_at":"2022-08-11 15:14:00"},"problem_types":["CWE-120"],"metrics":[],"references":[{"url":"https://github.com/contiki-ng/contiki-ng/pull/1589","name":"https://github.com/contiki-ng/contiki-ng/pull/1589","refsource":"MISC","tags":[],"title":"Verify DIO prefix info lengths in RPL-Classic by nvt · Pull Request #1589 · contiki-ng/contiki-ng · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/contiki-ng/contiki-ng/security/advisories/GHSA-9rm9-3phh-p4wm","name":"https://github.com/contiki-ng/contiki-ng/security/advisories/GHSA-9rm9-3phh-p4wm","refsource":"CONFIRM","tags":[],"title":"Unverified DIO prefix info lengths in RPL-Classic · Advisory · contiki-ng/contiki-ng · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/contiki-ng/contiki-ng/pull/1589/commits/4fffab0e632c4d01910fa957d1fd9ef321eb87d2","name":"https://github.com/contiki-ng/contiki-ng/pull/1589/commits/4fffab0e632c4d01910fa957d1fd9ef321eb87d2","refsource":"MISC","tags":[],"title":"Verify DIO prefix info lengths in RPL-Classic by nvt · Pull Request #1589 · contiki-ng/contiki-ng · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-35927","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-35927","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2022","cve_id":"35927","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"contiki-ng","cpe5":"contiki-ng","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"security-advisories@github.com","ID":"CVE-2022-35927","STATE":"PUBLIC","TITLE":"Unverified DIO prefix info lengths in RPL-Classic in Contiki-NG"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"contiki-ng","version":{"version_data":[{"version_value":"< 4.7"}]}}]},"vendor_name":"contiki-ng"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"impact":{"cvss":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":8.1,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-120: Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')"}]}]},"references":{"reference_data":[{"name":"https://github.com/contiki-ng/contiki-ng/security/advisories/GHSA-9rm9-3phh-p4wm","refsource":"CONFIRM","url":"https://github.com/contiki-ng/contiki-ng/security/advisories/GHSA-9rm9-3phh-p4wm"},{"name":"https://github.com/contiki-ng/contiki-ng/pull/1589","refsource":"MISC","url":"https://github.com/contiki-ng/contiki-ng/pull/1589"},{"name":"https://github.com/contiki-ng/contiki-ng/pull/1589/commits/4fffab0e632c4d01910fa957d1fd9ef321eb87d2","refsource":"MISC","url":"https://github.com/contiki-ng/contiki-ng/pull/1589/commits/4fffab0e632c4d01910fa957d1fd9ef321eb87d2"}]},"source":{"advisory":"GHSA-9rm9-3phh-p4wm","discovery":"UNKNOWN"}},"nvd":{"publishedDate":"2022-08-04 21:15:00","lastModifiedDate":"2022-08-11 15:14:00","problem_types":["CWE-120"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":9.8,"baseSeverity":"CRITICAL"},"exploitabilityScore":3.9,"impactScore":5.9}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:contiki-ng:contiki-ng:*:*:*:*:*:*:*:*","versionEndExcluding":"4.7","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}