CVE-2023-23609

contiki-ng BLE-L2CAP contains Improper size validation of L2CAP frames

State
Published
Severity
8.2 High
Published
Jan 25, 2023
Updated
Mar 11, 2025
Reserved
Jan 16, 2023

Read the record on cve.org

Description

Contiki-NG is an open-source, cross-platform operating system for Next-Generation IoT devices. Versions prior to and including 4.8 are vulnerable to an out-of-bounds write that can occur in the BLE-L2CAP module. The Bluetooth Low Energy - Logical Link Control and Adaptation Layer Protocol (BLE-L2CAP) module handles fragmentation of packets up the configured MTU size. When fragments are reassembled, they are stored in a packet buffer of a configurable size, but there is no check to verify that the packet buffer is large enough to hold the reassembled packet. In Contiki-NG's default configuration, it is possible that an out-of-bounds write of up to 1152 bytes occurs. The vulnerability has been patched in the "develop" branch of Contiki-NG, and will be included in release 4.9. The problem can be fixed by applying the patch in Contiki-NG pull request #2254 prior to the release of version 4.9.

Scores

CVSSScoreVectorSource
3.18.2 HighCVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:LGitHub_M

Weaknesses

Affected Products

ProductVersions
contiki-ngcontiki-ng
  • <= 4.8Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.