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.
Configurations

Configuration 1 (hide)

cpe:2.3:o:contiki-ng:contiki-ng:*:*:*:*:*:*:*:*

History

11 Aug 2022, 15:14

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 9.8
CPE cpe:2.3:o:contiki-ng:contiki-ng:*:*:*:*:*:*:*:*
CWE CWE-120
References (MISC) https://github.com/contiki-ng/contiki-ng/pull/1589/commits/4fffab0e632c4d01910fa957d1fd9ef321eb87d2 - (MISC) https://github.com/contiki-ng/contiki-ng/pull/1589/commits/4fffab0e632c4d01910fa957d1fd9ef321eb87d2 - Patch, Third Party Advisory
References (CONFIRM) https://github.com/contiki-ng/contiki-ng/security/advisories/GHSA-9rm9-3phh-p4wm - (CONFIRM) https://github.com/contiki-ng/contiki-ng/security/advisories/GHSA-9rm9-3phh-p4wm - Third Party Advisory
References (MISC) https://github.com/contiki-ng/contiki-ng/pull/1589 - (MISC) https://github.com/contiki-ng/contiki-ng/pull/1589 - Third Party Advisory

04 Aug 2022, 21:15

Type Values Removed Values Added
New CVE

Information

Published : 2022-08-04 21:15

Updated : 2024-02-04 22:51


NVD link : CVE-2022-35927

Mitre link : CVE-2022-35927

CVE.ORG link : CVE-2022-35927


JSON object : View

Products Affected

contiki-ng

  • contiki-ng
CWE
CWE-120

Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')