Out-of-bounds Read in Contiki-Ng
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.9 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:N.
EPSS exploit prediction
EPSS: 0.006 (47.6th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 48th percentile — 47.6% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.006 · newest: 0.006 · change: +0.000
Affected products
- Contiki-Ng — versions < 4.8
Weakness classification (CWE)
References
- github.com/contiki-ng/contiki-ng/security/advisories/GHSA-2j9c-7754-w4cw (Third Party Advisory)
- github.com/contiki-ng/contiki-ng/pull/1648 (Broken Link)
Frequently asked questions
- What is CVE-2022-36053?
- CVE-2022-36053 is a medium-severity vulnerability in Contiki-Ng, classified under Out-of-bounds Read. CVSS score: 5.9/10. Published 2022-09-01.
- How severe is CVE-2022-36053?
- Medium severity. CVSS v3 base score is 5.9 out of 10.