CVE-2022-36054
Because of a missing length check in the input function, it is possible to write outside the packet buffer's boundary.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (0.74%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
Description
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.
- CVSS 3.1
- 8.8 HIGHCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 0.74% probability · 53th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-787
- Affected
- contiki-ng/contiki-ng
- Source
- security-advisories@github.com
References
- https://github.com/contiki-ng/contiki-ng/pull/1648Patch, Third Party Advisory
- https://github.com/contiki-ng/contiki-ng/security/advisories/GHSA-c36p-vhwg-244cThird Party Advisory
- https://github.com/contiki-ng/contiki-ng/pull/1648Patch, Third Party Advisory
- https://github.com/contiki-ng/contiki-ng/security/advisories/GHSA-c36p-vhwg-244cThird Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.