{"id":"CVE-2021-32771","published":"2022-08-04T20:25:16Z","modified":"2025-04-23T17:53:33Z","title":"Buffer overflow in contiki-ng","vendor":"contiki-ng","product":"contiki-ng","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01353,"percentile":0.72272,"provenance":"source"},"cwes":[{"id":"CWE-120","name":"Buffer Copy without Checking Size of Input"}],"references":[{"url":"https://github.com/contiki-ng/contiki-ng/security/advisories/GHSA-jqjf-v7v9-xp6w","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/contiki-ng/contiki-ng/pull/1615","tags":["x_refsource_MISC"]},{"url":"https://github.com/contiki-ng/contiki-ng/pull/1615/commits/587ae59956e00316fd44fd7072ac3a6a07b4b20f","tags":["x_refsource_MISC"]},{"url":"https://github.com/contiki-ng/contiki-ng/releases/tag/release%2Fv4.8","tags":["x_refsource_MISC"]}],"priority":{"score":20.1,"factors":[{"name":"EPSS percentile","points":14.45},{"name":"CVSS severity","points":5.67}]},"vendorSlug":"contiki-ng","affectedVersions":[{"vendor":"contiki-ng","product":"contiki-ng","versions":["< 4.8"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2025-04-23T15:51:08.314192Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2021-19535","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-contiki-ng-cve-2021-32771","children":[{"from":"CVE-2021-32771","to":"CVE-2022-35927","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["os/net/routing/rpl-classic/rpl-icmp6.c"],"commits":["https://github.com/contiki-ng/contiki-ng/commit/587ae59956e00316fd44fd7072ac3a6a07b4b20f","https://github.com/contiki-ng/contiki-ng/commit/4fffab0e632c4d01910fa957d1fd9ef321eb87d2"],"basis":"rarely changed file"},{"kind":"similar","provenance":"machine","score":0.53,"basis":"same product + CWE + description similarity"}]}]}}