Buffer overflow in Contiki-Ng
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.
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.013 (69.6th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 70th percentile — 69.6% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.013 · newest: 0.013 · change: +0.000
Affected products
- Contiki-Ng — versions < 4.8
Weakness classification (CWE)
References
- github.com/contiki-ng/contiki-ng/security/advisories/GHSA-jqjf-v7v9-xp6w (Third Party Advisory)
- github.com/contiki-ng/contiki-ng/pull/1615 (Patch, Third Party Advisory)
- github.com/contiki-ng/contiki-ng/pull/1615/commits/587ae59956e00316fd44fd7072ac… (Patch, Third Party Advisory)
- github.com/contiki-ng/contiki-ng/releases/tag/release/v4.8 (Third Party Advisory)
Frequently asked questions
- What is CVE-2021-32771?
- CVE-2021-32771 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-2021-32771?
- High severity. CVSS v3 base score is 8.1 out of 10.