CVE-2022-41873
CVSS V2 None
CVSS V3 Medium 5.4
Description
Contiki-NG is an open-source, cross-platform operating system for Next-Generation IoT devices. Versions prior to 4.9 are vulnerable to an Out-of-bounds read. While processing the L2CAP protocol, the Bluetooth Low Energy stack of Contiki-NG needs to map an incoming channel ID to its metadata structure. While looking up the corresponding channel structure in get_channel_for_cid (in os/net/mac/ble/ble-l2cap.c), a bounds check is performed on the incoming channel ID, which is meant to ensure that the channel ID does not exceed the maximum number of supported channels.However, an integer truncation issue leads to only the lowest byte of the channel ID to be checked, which leads to an incomplete out-of-bounds check. A crafted channel ID leads to out-of-bounds memory to be read and written with attacker-controlled data. The vulnerability has been patched in the "develop" branch of Contiki-NG, and will be included in release 4.9. As a workaround, Users can apply the patch in Contiki-NG pull request 2081 on GitHub.
Overview
- CVE ID
- CVE-2022-41873
- Assigner
- security-advisories@github.com
- Vulnerability Status
- Analyzed
- Published Version
- 2022-11-11T04:15:11
- Last Modified Date
- 2022-11-18T14:05:22
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:o:contiki-ng:contiki-ng:*:*:*:*:*:*:*:* | 1 | OR | 4.9 |
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
- Attack Vector
- ADJACENT_NETWORK
- Attack Compatibility
- LOW
- Privileges Required
- NONE
- User Interaction
- NONE
- Scope
- UNCHANGED
- Confidentiality Impact
- LOW
- Availability Impact
- NONE
- Base Score
- 5.4
- Base Severity
- MEDIUM
- Exploitability Score
- 2.8
- Impact Score
- 2.5
References
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2022-41873 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-41873 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-11-11 05:00:05 | Added to TrackCVE | |||
2022-12-07 17:37:29 | 2022-11-11T04:15Z | 2022-11-11T04:15:11 | CVE Published Date | updated |
2022-12-07 17:37:29 | 2022-11-18T14:05:22 | CVE Modified Date | updated | |
2022-12-07 17:37:29 | Analyzed | Vulnerability Status | updated | |
2022-12-07 17:37:31 | CPE Information | updated |