CVE-2022-41972

CVSS V2 None CVSS V3 None
Description
Contiki-NG is an open-source, cross-platform operating system for Next-Generation IoT devices. Versions prior to 4.9 contain a NULL Pointer Dereference in BLE L2CAP module. The Contiki-NG operating system for IoT devices contains a Bluetooth Low Energy stack. An attacker can inject a packet in this stack, which causes the implementation to dereference a NULL pointer and triggers undefined behavior. More specifically, while processing the L2CAP protocol, the implementation maps an incoming channel ID to its metadata structure. In this structure, state information regarding credits is managed through calls to the function input_l2cap_credit in the module os/net/mac/ble/ble-l2cap.c. Unfortunately, the input_l2cap_credit function does not check that the metadata corresponding to the user-supplied channel ID actually exists, which can lead to the channel variable being set to NULL before a pointer dereferencing operation is performed. The vulnerability has been patched in the "develop" branch of Contiki-NG, and will be included in release 4.9. Users can apply the patch in Contiki-NG pull request #2253 as a workaround until the new package is released.
Overview
  • CVE ID
  • CVE-2022-41972
  • Assigner
  • security-advisories@github.com
  • Vulnerability Status
  • Analyzed
  • Published Version
  • 2022-12-16T18:15:08
  • Last Modified Date
  • 2022-12-27T17:18:09
CPE Configuration (Product)
CPE Vulnerable Operator Version Start Version End
cpe:2.3:o:contiki-ng:contiki-ng:*:*:*:*:*:*:*:* 1 OR 4.8
History
Created Old Value New Value Data Type Notes
2022-12-18 09:31:30 Added to TrackCVE
2022-12-21 07:02:57 2022-12-16T18:15:08.487 2022-12-16T18:15:08 CVE Published Date updated
2022-12-21 07:02:57 2022-12-16T18:29:46 CVE Modified Date updated
2022-12-21 07:02:57 Awaiting Analysis Undergoing Analysis Vulnerability Status updated
2022-12-27 18:18:15 2022-12-27T17:18:09 CVE Modified Date updated
2022-12-27 18:18:15 Undergoing Analysis Analyzed Vulnerability Status updated
2022-12-27 18:18:16 CPE Information updated