CVE-2022-36054

Contiki-NG is an open-source, cross-platform operating system for Next-Generation IoT devices. The 6LoWPAN implementation in the Contiki-NG operating system (file os/net/ipv6/sicslowpan.c) contains an input function that processes incoming packets and copies them into a packet buffer. Because of a missing length check in the input function, it is possible to write outside the packet buffer's boundary. The vulnerability can be exploited by anyone who has the possibility to send 6LoWPAN packets to a Contiki-NG system. In particular, the vulnerability is exposed when sending either of two types of 6LoWPAN packets: an unfragmented packet or the first fragment of a fragmented packet. If the packet is sufficiently large, a subsequent memory copy will cause an out-of-bounds write with data supplied by the attacker.
Configurations

Configuration 1 (hide)

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

History

07 Sep 2022, 15:08

Type Values Removed Values Added
References (CONFIRM) https://github.com/contiki-ng/contiki-ng/security/advisories/GHSA-c36p-vhwg-244c - (CONFIRM) https://github.com/contiki-ng/contiki-ng/security/advisories/GHSA-c36p-vhwg-244c - Third Party Advisory
References (MISC) https://github.com/contiki-ng/contiki-ng/pull/1648 - (MISC) https://github.com/contiki-ng/contiki-ng/pull/1648 - Patch, Third Party Advisory
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 8.8
CPE cpe:2.3:o:contiki-ng:contiki-ng:*:*:*:*:*:*:*:*

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-36054

Mitre link : CVE-2022-36054

CVE.ORG link : CVE-2022-36054


JSON object : View

Products Affected

contiki-ng

  • contiki-ng
CWE
CWE-787

Out-of-bounds Write