CVE-2023-37281 Detail
Description
Contiki-NG is an operating system for internet-of-things devices. In versions 4.9 and prior, when processing the various IPv6 header fields during IPHC header decompression, Contiki-NG confirms the received packet buffer contains enough data as needed for that field. But no similar check is done before decompressing the IPv6 address. Therefore, up to 16 bytes can be read out of bounds on the line with the statement `memcpy(&ipaddr->u8[16 – postcount], iphc_ptr, postcount);`. The value of `postcount` depends on the address compression used in the received packet and can be controlled by the attacker. As a result, an attacker can inject a packet that causes an out-of-bound read. As of time of publication, a patched version is not available. As a workaround, one can apply the changes in Contiki-NG pull request #2509 to patch the system.
Severity
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to [email protected].
Weakness Enumeration
CWE-ID | CWE Name | Source |
---|---|---|
CWE-125 | Out-of-bounds Read | GitHub, Inc. |
Change History
1 change records found show changes
Initial Analysis by NIST 9/19/2023 11:14:11 AM
Action | Type | Old Value | New Value |
---|---|---|---|
Added | CPE Configuration |
OR *cpe:2.3:o:contiki-ng:contiki-ng:*:*:*:*:*:*:*:* versions up to (including) 4.9 |
|
Added | CVSS V3.1 |
NIST AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
|
Changed | Reference Type |
https://github.com/contiki-ng/contiki-ng/pull/2509 No Types Assigned |
https://github.com/contiki-ng/contiki-ng/pull/2509 Issue Tracking, Patch |
Changed | Reference Type |
https://github.com/contiki-ng/contiki-ng/security/advisories/GHSA-2v4c-9p48-g9pr No Types Assigned |
https://github.com/contiki-ng/contiki-ng/security/advisories/GHSA-2v4c-9p48-g9pr Vendor Advisory |
Quick Info
CVE Dictionary Entry:
CVE-2023-37281
NVD Published Date:
09/15/2023
NVD Last Modified:
09/19/2023
Source:
GitHub, Inc.