CVE-2021-32771

Contiki-NG is an open-source, cross-platform operating system for IoT devices. In affected versions it is possible to cause a buffer overflow when copying an IPv6 address prefix in the RPL-Classic implementation in Contiki-NG. In order to trigger the vulnerability, the Contiki-NG system must have joined an RPL DODAG. After that, an attacker can send a DAO packet with a Target option that contains a prefix length larger than 128 bits. The problem was fixed after the release of Contiki-NG 4.7. Users unable to upgrade may apply the patch in Contiki-NG PR #1615.
Configurations

Configuration 1 (hide)

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

History

10 Aug 2022, 18:08

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 8.1
CPE cpe:2.3:o:contiki-ng:contiki-ng:*:*:*:*:*:*:*:*
References (MISC) https://github.com/contiki-ng/contiki-ng/pull/1615 - (MISC) https://github.com/contiki-ng/contiki-ng/pull/1615 - Patch, Third Party Advisory
References (MISC) https://github.com/contiki-ng/contiki-ng/pull/1615/commits/587ae59956e00316fd44fd7072ac3a6a07b4b20f - (MISC) https://github.com/contiki-ng/contiki-ng/pull/1615/commits/587ae59956e00316fd44fd7072ac3a6a07b4b20f - Patch, Third Party Advisory
References (MISC) https://github.com/contiki-ng/contiki-ng/releases/tag/release%2Fv4.8 - (MISC) https://github.com/contiki-ng/contiki-ng/releases/tag/release%2Fv4.8 - Third Party Advisory
References (CONFIRM) https://github.com/contiki-ng/contiki-ng/security/advisories/GHSA-jqjf-v7v9-xp6w - (CONFIRM) https://github.com/contiki-ng/contiki-ng/security/advisories/GHSA-jqjf-v7v9-xp6w - 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-2021-32771

Mitre link : CVE-2021-32771

CVE.ORG link : CVE-2021-32771


JSON object : View

Products Affected

contiki-ng

  • contiki-ng
CWE
CWE-120

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