Paper/Archive/CVE-2021-21281

CVE-2021-21281

contiki-ng contiki-ng — Buffer overflow due to unvalidated TCP data offset

Description · from the CVE record

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.

Affected

ProductAffectedFixed inSource
contiki-ng< 4.6–CNA

Scores by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GitHub_M (CNA)7.0CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H

References

refgithub.com/contiki-ng/contiki-ng/security/advisories/GHSA-mc42-fqfr-h9fprefgithub.com/contiki-ng/contiki-ng/pull/1366