Vulnerability Details : CVE-2023-37281
Contiki-NG is an operating system for internet-of-things devices. In versions 4.9 and prior, when processing the various IPv6 header fields during IPHC header decompression, Contiki-NG confirms the received packet buffer contains enough data as needed for that field. But no similar check is done before decompressing the IPv6 address. Therefore, up to 16 bytes can be read out of bounds on the line with the statement `memcpy(&ipaddr->u8[16 - postcount], iphc_ptr, postcount);`. The value of `postcount` depends on the address compression used in the received packet and can be controlled by the attacker. As a result, an attacker can inject a packet that causes an out-of-bound read. As of time of publication, a patched version is not available. As a workaround, one can apply the changes in Contiki-NG pull request #2509 to patch the system.
Products affected by CVE-2023-37281
- cpe:2.3:o:contiki-ng:contiki-ng:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2023-37281
0.19%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 41 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2023-37281
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
5.3
|
MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
3.9
|
1.4
|
NIST | |
5.3
|
MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
3.9
|
1.4
|
GitHub, Inc. |
CWE ids for CVE-2023-37281
-
The product reads data past the end, or before the beginning, of the intended buffer.Assigned by: security-advisories@github.com (Primary)
References for CVE-2023-37281
-
https://github.com/contiki-ng/contiki-ng/security/advisories/GHSA-2v4c-9p48-g9pr
Out-of-bounds read during IPHC address decompression · Advisory · contiki-ng/contiki-ng · GitHubVendor Advisory
-
https://github.com/contiki-ng/contiki-ng/pull/2509
sicslowpan: Add packet boundary checks when decompressing IP addresses. by nvt · Pull Request #2509 · contiki-ng/contiki-ng · GitHubIssue Tracking;Patch
Jump to