CVE-2022-35927CWE-120

Unverified DIO prefix info lengths in RPL-Classic in Contiki-NG

High · published August 4, 2022

CVSS v3.1
8.1
EPSS
2%
Percentile
82.1
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
8.1 · HIGH
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.02160 · 82.1th percentile
Weakness
CWE-120 · Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')
Published
2022-08-04T20:35Z
EPSS history
Timeline
  • 04 AUG 20:35Z
    Unverified DIO prefix info lengths in RPL-Classic in Contiki-NG
    cvelistv5