{"id":"CVE-2023-50926","state":"PUBLISHED","title":"Unvalidated DIO prefix info length in RPL-Lite in Contiki-NG","description":"Contiki-NG is an open-source, cross-platform operating system for Next-Generation IoT devices. An out-of-bounds read can be caused by an incoming DIO message when using the RPL-Lite implementation in the Contiki-NG operating system. More specifically, the prefix information of the DIO message contains a field that specifies the length of an IPv6 address prefix. The value of this field is not validated, which means that an attacker can set a value that is longer than the maximum prefix length. Subsequently, a memcmp function call that compares different prefixes can be called with a length argument that surpasses the boundary of the array allocated for the prefix, causing an out-of-bounds read. The problem has been patched in the \"develop\" branch of Contiki-NG, and is expected to be included in the next release. Users are advised to update as soon as they are able to or to manually apply the changes in Contiki-NG pull request #2721.","publishedAt":"2024-02-14T19:28:11.556Z","updatedAt":"2024-08-02T22:23:44.103Z","severity":{"score":7.5,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["contiki-ng contiki-ng"],"affected":[{"vendor":"contiki-ng","product":"contiki-ng","versions":[{"version":"<= 4.9","status":"affected"}]}],"references":["https://github.com/contiki-ng/contiki-ng/security/advisories/GHSA-jp4p-fq85-jch2","https://github.com/contiki-ng/contiki-ng/pull/2721"],"weaknesses":["CWE-125"],"ingestedAt":"2026-10-29T20:06:33.064Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2023/50xxx/CVE-2023-50926.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2023-50926","state":"PUBLISHED","datePublished":"2024-02-14T19:28:11.556Z","dateUpdated":"2024-08-02T22:23:44.103Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2023-12-15T20:57:23.174Z"},"containers":{"cna":{"title":"Unvalidated DIO prefix info length in RPL-Lite in Contiki-NG","descriptions":[{"lang":"en","value":"Contiki-NG is an open-source, cross-platform operating system for Next-Generation IoT devices. An out-of-bounds read can be caused by an incoming DIO message when using the RPL-Lite implementation in the Contiki-NG operating system. More specifically, the prefix information of the DIO message contains a field that specifies the length of an IPv6 address prefix. The value of this field is not validated, which means that an attacker can set a value that is longer than the maximum prefix length. Subsequently, a memcmp function call that compares different prefixes can be called with a length argument that surpasses the boundary of the array allocated for the prefix, causing an out-of-bounds read. The problem has been patched in the \"develop\" branch of Contiki-NG, and is expected to be included in the next release. Users are advised to update as soon as they are able to or to manually apply the changes in Contiki-NG pull request #2721."}],"affected":[{"vendor":"contiki-ng","product":"contiki-ng","versions":[{"version":"<= 4.9","status":"affected"}]}],"references":[{"url":"https://github.com/contiki-ng/contiki-ng/security/advisories/GHSA-jp4p-fq85-jch2","name":"https://github.com/contiki-ng/contiki-ng/security/advisories/GHSA-jp4p-fq85-jch2","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/contiki-ng/contiki-ng/pull/2721","name":"https://github.com/contiki-ng/contiki-ng/pull/2721","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-125","lang":"en","description":"CWE-125: Out-of-bounds Read","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2024-02-14T19:28:11.556Z"},"source":{"advisory":"GHSA-jp4p-fq85-jch2","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"contiki-ng","product":"contiki-ng","defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThanOrEqual":"4.9","versionType":"custom"}],"cpes":["cpe:2.3:a:contiki-ng:contiki-ng:*:*:*:*:*:*:*:*"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-07-16T18:20:51.715274Z","id":"CVE-2023-50926","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-07-16T18:23:16.224Z"}},{"title":"CVE Program Container","references":[{"url":"https://github.com/contiki-ng/contiki-ng/security/advisories/GHSA-jp4p-fq85-jch2","name":"https://github.com/contiki-ng/contiki-ng/security/advisories/GHSA-jp4p-fq85-jch2","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/contiki-ng/contiki-ng/pull/2721","name":"https://github.com/contiki-ng/contiki-ng/pull/2721","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T22:23:44.103Z"}}]}}}