CVE-2022-36053

Contiki-NG is an open-source, cross-platform operating system for Next-Generation IoT devices. The low-power IPv6 network stack of Contiki-NG has a buffer module (os/net/ipv6/uipbuf.c) that processes IPv6 extension headers in incoming data packets. As part of this processing, the function uipbuf_get_next_header casts a pointer to a uip_ext_hdr structure into the packet buffer at different offsets where extension headers are expected to be found, and then reads from this structure. Because of a lack of bounds checking, the casting can be done so that the structure extends beyond the packet's end. Hence, with a carefully crafted packet, it is possible to cause the Contiki-NG system to read data outside the packet buffer. A patch that fixes the vulnerability is included in Contiki-NG 4.8.
Configurations

Configuration 1 (hide)

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

History

07 Sep 2022, 15:31

Type Values Removed Values Added
References (CONFIRM) https://github.com/contiki-ng/contiki-ng/security/advisories/GHSA-2j9c-7754-w4cw - (CONFIRM) https://github.com/contiki-ng/contiki-ng/security/advisories/GHSA-2j9c-7754-w4cw - Third Party Advisory
References (MISC) https://github.com/contiki-ng/contiki-ng/pull/1648 - (MISC) https://github.com/contiki-ng/contiki-ng/pull/1648 - Broken Link
CPE cpe:2.3:o:contiki-ng:contiki-ng:*:*:*:*:*:*:*:*
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 8.8

01 Sep 2022, 17:47

Type Values Removed Values Added
New CVE

Information

Published : 2022-09-01 12:15

Updated : 2024-02-04 22:51


NVD link : CVE-2022-36053

Mitre link : CVE-2022-36053

CVE.ORG link : CVE-2022-36053


JSON object : View

Products Affected

contiki-ng

  • contiki-ng
CWE
CWE-125

Out-of-bounds Read