CVE-2022-36053 Out-of-bounds read in the uIP buffer module

Medium 5.9 Published Updated

An attacker can read memory outside the packet buffer via crafted IPv6 packets, potentially exposing sensitive data in Contiki-NG IoT devices.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2022-36053?

CVE-2022-36053 is a medium-severity vulnerability in contiki-ng, published on 1 Sep 2022. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

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.

Weakness: CWE-125

Which versions are affected by CVE-2022-36053?

It affects 1 product.

Products include Contiki-Ng Contiki-Ng.

How do I fix CVE-2022-36053?

No fix has been published for CVE-2022-36053 yet. Limit exposure of the affected software until one is available.

Is CVE-2022-36053 being exploited?

There is no known exploitation of CVE-2022-36053 in the wild and no public exploit code.

Sources

Also known as GHSA-2j9c-7754-w4cw.

Is CVE-2022-36053 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free