{"api_version":"1","generated_at":"2026-07-23T23:03:42+00:00","cve":"CVE-2021-32771","urls":{"html":"https://cve.report/CVE-2021-32771","api":"https://cve.report/api/cve/CVE-2021-32771.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-32771","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-32771"},"summary":{"title":"CVE-2021-32771","description":"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.","state":"PUBLIC","assigner":"security-advisories@github.com","published_at":"2022-08-04 21:15:00","updated_at":"2022-08-10 18:08:00"},"problem_types":["CWE-120"],"metrics":[],"references":[{"url":"https://github.com/contiki-ng/contiki-ng/pull/1615","name":"https://github.com/contiki-ng/contiki-ng/pull/1615","refsource":"MISC","tags":[],"title":"Check RPL Target prefix length and buffer boundary. by nvt · Pull Request #1615 · contiki-ng/contiki-ng · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/contiki-ng/contiki-ng/releases/tag/release%2Fv4.8","name":"https://github.com/contiki-ng/contiki-ng/releases/tag/release%2Fv4.8","refsource":"MISC","tags":[],"title":"Release Version 4.8 · contiki-ng/contiki-ng · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/contiki-ng/contiki-ng/security/advisories/GHSA-jqjf-v7v9-xp6w","name":"https://github.com/contiki-ng/contiki-ng/security/advisories/GHSA-jqjf-v7v9-xp6w","refsource":"CONFIRM","tags":[],"title":"Buffer overflow caused by incorrect RPL DAO prefix lengths · Advisory · contiki-ng/contiki-ng · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/contiki-ng/contiki-ng/pull/1615/commits/587ae59956e00316fd44fd7072ac3a6a07b4b20f","name":"https://github.com/contiki-ng/contiki-ng/pull/1615/commits/587ae59956e00316fd44fd7072ac3a6a07b4b20f","refsource":"MISC","tags":[],"title":"Check RPL Target prefix length and buffer boundary. by nvt · Pull Request #1615 · contiki-ng/contiki-ng · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-32771","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-32771","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2021","cve_id":"32771","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"contiki-ng","cpe5":"contiki-ng","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"security-advisories@github.com","ID":"CVE-2021-32771","STATE":"PUBLIC","TITLE":"Buffer overflow in contiki-ng"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"contiki-ng","version":{"version_data":[{"version_value":"< 4.8"}]}}]},"vendor_name":"contiki-ng"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"impact":{"cvss":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":8.1,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-120: Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')"}]}]},"references":{"reference_data":[{"name":"https://github.com/contiki-ng/contiki-ng/security/advisories/GHSA-jqjf-v7v9-xp6w","refsource":"CONFIRM","url":"https://github.com/contiki-ng/contiki-ng/security/advisories/GHSA-jqjf-v7v9-xp6w"},{"name":"https://github.com/contiki-ng/contiki-ng/pull/1615","refsource":"MISC","url":"https://github.com/contiki-ng/contiki-ng/pull/1615"},{"name":"https://github.com/contiki-ng/contiki-ng/pull/1615/commits/587ae59956e00316fd44fd7072ac3a6a07b4b20f","refsource":"MISC","url":"https://github.com/contiki-ng/contiki-ng/pull/1615/commits/587ae59956e00316fd44fd7072ac3a6a07b4b20f"},{"name":"https://github.com/contiki-ng/contiki-ng/releases/tag/release%2Fv4.8","refsource":"MISC","url":"https://github.com/contiki-ng/contiki-ng/releases/tag/release%2Fv4.8"}]},"source":{"advisory":"GHSA-jqjf-v7v9-xp6w","discovery":"UNKNOWN"}},"nvd":{"publishedDate":"2022-08-04 21:15:00","lastModifiedDate":"2022-08-10 18:08:00","problem_types":["CWE-120"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":8.1,"baseSeverity":"HIGH"},"exploitabilityScore":2.2,"impactScore":5.9}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:contiki-ng:contiki-ng:*:*:*:*:*:*:*:*","versionEndExcluding":"4.8","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2021","CveId":"32771","Ordinal":"208159","Title":"CVE-2021-32771","CVE":"CVE-2021-32771","Year":"2021"},"notes":[{"CveYear":"2021","CveId":"32771","Ordinal":"1","NoteData":"** RESERVED ** This candidate has been reserved by an organization or individual that will use it when announcing a new security problem. When the candidate has been publicized, the details for this candidate will be provided.","Type":"Description","Title":null}]}}}