CVE-2021-21410 Out-of-bounds read in the 6LoWPAN implementation
- Published
- Updated
- Exploit status
- No public exploit known
Description
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| Contiki-NG | <= 4.6; = <= 4.6 | after 4.6 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| Contiki-NG | <= 4.6 | No fix listed |
| Contiki-NG | = <= 4.6 | No fix listed |
References
- github.com patch third-party-advisory
- github.com patch third-party-advisory