Vulnerability Details : CVE-2021-21281
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.
Vulnerability category: Overflow
Products affected by CVE-2021-21281
- cpe:2.3:o:contiki-ng:contiki-ng:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2021-21281
0.44%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 60 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2021-21281
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
7.5
|
HIGH | AV:N/AC:L/Au:N/C:P/I:P/A:P |
10.0
|
6.4
|
NIST | |
9.8
|
CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
3.9
|
5.9
|
NIST | |
7.0
|
HIGH | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H |
2.2
|
4.7
|
GitHub, Inc. |
CWE ids for CVE-2021-21281
-
The product copies an input buffer to an output buffer without verifying that the size of the input buffer is less than the size of the output buffer, leading to a buffer overflow.Assigned by: security-advisories@github.com (Primary)
References for CVE-2021-21281
-
https://github.com/contiki-ng/contiki-ng/security/advisories/GHSA-mc42-fqfr-h9fp
Buffer overflow due to unvalidated TCP data offset · Advisory · contiki-ng/contiki-ng · GitHubPatch;Third Party Advisory
-
https://github.com/contiki-ng/contiki-ng/pull/1366
Verify the TCP data offset to avoid uip_len overflows. by nvt · Pull Request #1366 · contiki-ng/contiki-ng · GitHubPatch;Third Party Advisory
Jump to