Vulnerability · Published Sep 1, 2022 · Assigned by GitHub_M
CVE-2022-36052Out-of-bounds read when decompressing UDP header
Medium 5.9
In plain English
A medium-severity out-of-bounds read in contiki-ng from contiki-ng. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 52% of all known vulnerabilities).
Official 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.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| contiki-ng | contiki-ng | < 4.8 |
Weakness: CWE-125 · Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:N
References
- https://github.com/contiki-ng/contiki-ng/pull/1648 x_refsource_MISC
- https://github.com/contiki-ng/contiki-ng/security/advisories/GHSA-vwr8-6mqv-x7f5 x_refsource_CONFIRM