CVE-2023-37459

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.
Configurations

Configuration 1 (hide)

cpe:2.3:o:contiki-ng:contiki-ng:*:*:*:*:*:*:*:*

History

21 Nov 2024, 08:11

Type Values Removed Values Added
References () https://github.com/contiki-ng/contiki-ng/pull/2510 - Issue Tracking, Patch () https://github.com/contiki-ng/contiki-ng/pull/2510 - Issue Tracking, Patch
References () https://github.com/contiki-ng/contiki-ng/security/advisories/GHSA-6648-m23r-hq8c - Vendor Advisory () https://github.com/contiki-ng/contiki-ng/security/advisories/GHSA-6648-m23r-hq8c - Vendor Advisory

19 Sep 2023, 15:14

Type Values Removed Values Added
First Time Contiki-ng
Contiki-ng contiki-ng
CPE cpe:2.3:o:contiki-ng:contiki-ng:*:*:*:*:*:*:*:*
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.3
References (MISC) https://github.com/contiki-ng/contiki-ng/security/advisories/GHSA-6648-m23r-hq8c - (MISC) https://github.com/contiki-ng/contiki-ng/security/advisories/GHSA-6648-m23r-hq8c - Vendor Advisory
References (MISC) https://github.com/contiki-ng/contiki-ng/pull/2510 - (MISC) https://github.com/contiki-ng/contiki-ng/pull/2510 - Issue Tracking, Patch

17 Sep 2023, 12:01

Type Values Removed Values Added
New CVE

Information

Published : 2023-09-15 20:15

Updated : 2024-11-21 08:11


NVD link : CVE-2023-37459

Mitre link : CVE-2023-37459

CVE.ORG link : CVE-2023-37459


JSON object : View

Products Affected

contiki-ng

  • contiki-ng
CWE
CWE-125

Out-of-bounds Read