Out-of-bounds Read in Contiki-Ng
CVE-2021-21410
Contiki-NG is an open-source, cross-platform operating system for Next-Generation IoT devices. An out-of-bounds read can be triggered by 6LoWPAN packets sent to devices running Contiki-NG 4.6 and prior. The IPv6 header decompression function (<code>uncompress_hdr_iphc</code>) does not perform proper boundary checks when reading from the packet buffer. Hence, it is possible to construct a compressed 6LoWPAN packet that will read more bytes than what is available from the packet buffer. As of time of publication, there is not a release with a patch available. Users can apply the patch for this vulnerability out-of-band as a workaround.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.2 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:L.
EPSS exploit prediction
EPSS: 0.012 (67.8th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 68th percentile — 67.8% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.012 · newest: 0.012 · change: 0.000
Affected products
- Contiki-Ng — versions <= 4.6
Weakness classification (CWE)
References
- github.com/contiki-ng/contiki-ng/security/advisories/GHSA-hhwj-2p59-v8p9 (Patch, Third Party Advisory)
- github.com/contiki-ng/contiki-ng/pull/1482 (Patch, Third Party Advisory)
Frequently asked questions
- What is CVE-2021-21410?
- CVE-2021-21410 is a high-severity vulnerability in Contiki-Ng, classified under Out-of-bounds Read. CVSS score: 8.2/10. Published 2021-06-18.
- How severe is CVE-2021-21410?
- High severity. CVSS v3 base score is 8.2 out of 10.