CVE-2023-37459 Detail

Description

Contiki-NG is an operating system for internet-of-things devices. In versions 4.9 and prior, when a packet is received, the Contiki-NG network stack attempts to start the periodic TCP timer if it is a TCP packet with the SYN flag set. But the implementation does not first verify that a full TCP header has been received. Specifically, the implementation attempts to access the flags field from the TCP buffer in the following conditional expression in the `check_for_tcp_syn` function. For this reason, an attacker can inject a truncated TCP packet, which will lead to an out-of-bound read from the packet buffer. As of time of publication, a patched version is not available. As a workaround, one can apply the changes in Contiki-NG pull request #2510 to patch the system.

Severity

CVSS 3.x Severity and Metrics:

CVSS 2.0 Severity and Metrics:

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:43 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/2510 No Types Assigned
https://github.com/contiki-ng/contiki-ng/pull/2510 Issue Tracking, Patch
Changed Reference Type
https://github.com/contiki-ng/contiki-ng/security/advisories/GHSA-6648-m23r-hq8c No Types Assigned
https://github.com/contiki-ng/contiki-ng/security/advisories/GHSA-6648-m23r-hq8c Vendor Advisory

Quick Info

CVE Dictionary Entry:
CVE-2023-37459
NVD Published Date:
09/15/2023
NVD Last Modified:
09/19/2023
Source:
GitHub, Inc.