CVE-2023-37281
CVSS V2 None
CVSS V3 None
Description
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.
Overview
- CVE ID
- CVE-2023-37281
- Assigner
- GitHub_M
- Vulnerability Status
- PUBLISHED
- Published Version
- 2023-09-15T19:17:53.739Z
- Last Modified Date
- 2023-09-15T19:17:53.739Z
Weakness Enumerations
References
Reference URL | Reference Tags |
---|---|
https://github.com/contiki-ng/contiki-ng/security/advisories/GHSA-2v4c-9p48-g9pr | x_refsource_CONFIRM |
https://github.com/contiki-ng/contiki-ng/pull/2509 | x_refsource_MISC |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2023-37281 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-37281 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2024-06-25 01:06:46 | Added to TrackCVE |