{"id":"CVE-2021-21281","aliases":["CVE-2021-21281"],"related":[],"kind":"vulnerability","state":"published","title":"Buffer overflow due to unvalidated TCP data offset","summary":"Contiki-NG is an open-source, cross-platform operating system for internet of things devices. A buffer overflow vulnerability exists in Contiki-NG versions prior to 4.6. After establishing a TCP socket using the tcp-socket library, it is possible for the remote end to send a packet with a data offset that is unvalidated. The problem has been patched in Contiki-NG 4.6. Users can apply the patch for this vulnerability out-of-band as a workaround.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Contiki-NG is an open-source, cross-platform operating system for internet of things devices. A buffer overflow vulnerability exists in Contiki-NG versions prior to 4.6. After establishing a TCP socket using the tcp-socket library, it is possible for the remote end to send a packet with a data offset that is unvalidated. The problem has been patched in Contiki-NG 4.6. Users can apply the patch for this vulnerability out-of-band as a workaround.","source":"cvelist"},{"lang":"es","text":"Contiki-NG es un sistema operativo de código abierto y multiplataforma para dispositivos del Internet de las cosas. Se presenta una vulnerabilidad de desbordamiento de búfer en las versiones de Contiki-NG anteriores a 4.6. Después de haber establecido un socket TCP usando la biblioteca tcp-socket, es posible para el extremo remoto enviar un paquete con un desplazamiento de datos que no está validado. El problema ha sido parcheado en Contiki-NG versión 4.6. Los usuarios pueden aplicar el parche para esta vulnerabilidad fuera de límite como solución alternativa","source":"nvd"}],"published":"2021-06-18T20:25:10.000Z","modified":"2026-06-17T03:35:11.187Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H","score":7,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H","score":7,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","score":7.5,"rating":"HIGH"}],"cwes":["CWE-120"],"affected":[{"ranges":[{"version":"< 4.6","status":"affected"}],"vendor":"contiki-ng","product":"contiki-ng","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"4.6"}],"vendor":"contiki-ng","product":"contiki-ng","cpe":"cpe:2.3:o:contiki-ng:contiki-ng:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/contiki-ng/contiki-ng/security/advisories/GHSA-mc42-fqfr-h9fp","tags":["patch","third-party-advisory","x-refsource-confirm","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/contiki-ng/contiki-ng/pull/1366","tags":["patch","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-21281","url":"https://www.cve.org/CVERecord?id=CVE-2021-21281","licence":"CVE Terms of Use","modified":"2024-08-03T18:09:15.191Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-21281","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-21281","licence":"Public domain","modified":"2026-06-17T03:35:11.187Z"}],"updatedAt":"2026-11-25T22:58:02.015Z","epss":{"score":0.00918,"percentile":0.61285,"date":"2026-12-01T12:00:22.000Z"}}