{"id":"CVE-2023-28116","state":"PUBLISHED","title":"Buffer overflow in L2CAP due to misconfigured MTU","description":"Contiki-NG is an open-source, cross-platform operating system for internet of things (IoT) devices. In versions 4.8 and prior, an out-of-bounds write can occur in the BLE L2CAP module of the Contiki-NG operating system.  The network stack of Contiki-NG uses a global buffer (packetbuf) for processing of packets, with the size of PACKETBUF_SIZE. In particular, when using the BLE L2CAP module with the default configuration, the PACKETBUF_SIZE value becomes larger then the actual size of the packetbuf.  When large packets are processed by the L2CAP module, a buffer overflow can therefore occur when copying the packet data to the packetbuf. The vulnerability has been patched in the \"develop\" branch of Contiki-NG, and will be included in release 4.9. The problem can be worked around by applying the patch manually.","publishedAt":"2023-03-17T21:22:54.703Z","updatedAt":"2025-02-25T14:53:03.165Z","severity":{"score":8.1,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["contiki-ng contiki-ng"],"affected":[{"vendor":"contiki-ng","product":"contiki-ng","versions":[{"version":"<= 4.8","status":"affected"}]}],"references":["https://github.com/contiki-ng/contiki-ng/security/advisories/GHSA-m737-4vx6-pfqp","https://github.com/contiki-ng/contiki-ng/pull/2398"],"weaknesses":["CWE-120"],"ingestedAt":"2026-10-29T20:05:52.290Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2023/28xxx/CVE-2023-28116.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2023-28116","state":"PUBLISHED","datePublished":"2023-03-17T21:22:54.703Z","dateUpdated":"2025-02-25T14:53:03.165Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2023-03-10T18:34:29.228Z"},"containers":{"cna":{"title":"Buffer overflow in L2CAP due to misconfigured MTU","descriptions":[{"lang":"en","value":"Contiki-NG is an open-source, cross-platform operating system for internet of things (IoT) devices. In versions 4.8 and prior, an out-of-bounds write can occur in the BLE L2CAP module of the Contiki-NG operating system.  The network stack of Contiki-NG uses a global buffer (packetbuf) for processing of packets, with the size of PACKETBUF_SIZE. In particular, when using the BLE L2CAP module with the default configuration, the PACKETBUF_SIZE value becomes larger then the actual size of the packetbuf.  When large packets are processed by the L2CAP module, a buffer overflow can therefore occur when copying the packet data to the packetbuf. The vulnerability has been patched in the \"develop\" branch of Contiki-NG, and will be included in release 4.9. The problem can be worked around by applying the patch manually."}],"affected":[{"vendor":"contiki-ng","product":"contiki-ng","versions":[{"version":"<= 4.8","status":"affected"}]}],"references":[{"url":"https://github.com/contiki-ng/contiki-ng/security/advisories/GHSA-m737-4vx6-pfqp","name":"https://github.com/contiki-ng/contiki-ng/security/advisories/GHSA-m737-4vx6-pfqp","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/contiki-ng/contiki-ng/pull/2398","name":"https://github.com/contiki-ng/contiki-ng/pull/2398","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"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"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-120","lang":"en","description":"CWE-120: Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2023-03-17T21:22:54.703Z"},"source":{"advisory":"GHSA-m737-4vx6-pfqp","discovery":"UNKNOWN"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/contiki-ng/contiki-ng/security/advisories/GHSA-m737-4vx6-pfqp","name":"https://github.com/contiki-ng/contiki-ng/security/advisories/GHSA-m737-4vx6-pfqp","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/contiki-ng/contiki-ng/pull/2398","name":"https://github.com/contiki-ng/contiki-ng/pull/2398","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T12:30:24.192Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-02-25T14:29:12.643576Z","id":"CVE-2023-28116","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-02-25T14:53:03.165Z"}}]}}}