CVE-2022-36052 Out-of-bounds read when decompressing UDP header
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
Description
Contiki-NG is an open-source, cross-platform operating system for Next-Generation IoT devices. The 6LoWPAN implementation in Contiki-NG may cast a UDP header structure at a certain offset in a packet buffer. The code does not check whether the packet buffer is large enough to fit a full UDP header structure from the offset where the casting is made. Hence, it is possible to cause an out-of-bounds read beyond the packet buffer. The problem affects anyone running devices with Contiki-NG versions previous to 4.8, and which may receive 6LoWPAN packets from external parties. The problem has been patched in Contiki-NG version 4.8.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| Contiki-NG | < 4.8; = < 4.8 | 4.8 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| Contiki-NG | = < 4.8 | No fix listed |
| Contiki-NG | < 4.8 | 4.8 |
References
- github.com patch third-party-advisory
- github.com third-party-advisory