{"id":"CVE-2023-28116","published":"2023-03-17T21:22:54Z","modified":"2025-02-25T14:53:03Z","title":"Buffer overflow in L2CAP due to misconfigured MTU","vendor":"contiki-ng","product":"contiki-ng","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00687,"percentile":0.53596,"provenance":"source"},"cwes":[{"id":"CWE-120","name":"Buffer Copy without Checking Size of Input"}],"references":[{"url":"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","tags":["x_refsource_MISC"]}],"priority":{"score":16.4,"factors":[{"name":"EPSS percentile","points":10.72},{"name":"CVSS severity","points":5.67}]},"vendorSlug":"contiki-ng","affectedVersions":[{"vendor":"contiki-ng","product":"contiki-ng","versions":["<= 4.8"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2025-02-25T14:29:12.643576Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2023-31831","exploited":false,"provenance":"source"}}