Buffer overflow in Contiki-Ng
CVE-2022-35927
Contiki-NG is an open-source, cross-platform operating system for IoT devices. In the RPL-Classic routing protocol implementation in the Contiki-NG operating system, an incoming DODAG Information Option (DIO) control message can contain a prefix information option with a length parameter. The value of the length parameter is not validated, however, and it is possible to cause a buffer overflow when copying the prefix in the set_ip_from_prefix function. This vulnerability affects anyone running a Contiki-NG version prior to 4.7 that can receive RPL DIO messages from external parties. To obtain a patched version, users should upgrade to Contiki-NG 4.7 or later. There are no workarounds for this issue.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.1 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.021 (81.0th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 81st percentile — 81.0% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.021 · newest: 0.021 · change: +0.000
Affected products
- Contiki-Ng — versions < 4.7
Weakness classification (CWE)
References
- github.com/contiki-ng/contiki-ng/security/advisories/GHSA-9rm9-3phh-p4wm (Third Party Advisory)
- github.com/contiki-ng/contiki-ng/pull/1589 (Third Party Advisory)
- github.com/contiki-ng/contiki-ng/pull/1589/commits/4fffab0e632c4d01910fa957d1fd… (Patch, Third Party Advisory)
Frequently asked questions
- What is CVE-2022-35927?
- CVE-2022-35927 is a high-severity vulnerability in Contiki-Ng, classified under Buffer Copy without Checking Size of Input (Classic Buffer Overflow). CVSS score: 8.1/10. Published 2022-08-04.
- How severe is CVE-2022-35927?
- High severity. CVSS v3 base score is 8.1 out of 10.