Out-of-bounds Read in Contiki-Ng
CVE-2022-36052
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.
Vulnerability class: Buffer Overflow
EPSS: 0.005 (41.8th percentile) — read the EPSS interpretation.
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.
Affected products
- Contiki-ng — versions < 4.8
Weakness classification (CWE)
References
- security-advisories@github.com (Patch, Third Party Advisory, x_refsource_MISC)
- security-advisories@github.com (x_refsource_CONFIRM, Third Party Advisory)
Frequently asked questions
- What is CVE-2022-36052?
- CVE-2022-36052 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-36052?
- Medium severity. CVSS v3 base score is 5.9 out of 10.