CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2022 · Contiki-ng

CVE-2022-36054
Contiki-ng vulnerability

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.

Affected products

Contiki-ng. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Contiki-ng runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Set the orderSystems that can be reached from the internet come first, then the rest.

References

More vulnerabilities in Contiki-ng products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.