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.
Metrics
Affected Vendors & Products
References
History
Wed, 25 Sep 2024 18:30:00 +0000
Type | Values Removed | Values Added |
---|---|---|
Metrics |
ssvc
|
MITRE
Status: PUBLISHED
Assigner: GitHub_M
Published: 2023-09-15T19:17:53.739Z
Updated: 2024-09-25T18:05:23.793Z
Reserved: 2023-06-29T19:35:26.441Z
Link: CVE-2023-37281
Vulnrichment
Updated: 2024-08-02T17:09:34.058Z
NVD
Status : Modified
Published: 2023-09-15T20:15:08.310
Modified: 2024-11-21T08:11:23.297
Link: CVE-2023-37281
Redhat
No data.