ID

VAR-202309-2398


CVE

CVE-2023-37281


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.

Trust: 1.0

sources: NVD: CVE-2023-37281

AFFECTED PRODUCTS

vendor:contiki ngmodel:contiki-ngscope:lteversion:4.9

Trust: 1.0

sources: NVD: CVE-2023-37281

CVSS

SEVERITY

CVSSV2

CVSSV3

nvd@nist.gov: CVE-2023-37281
value: MEDIUM

Trust: 1.0

security-advisories@github.com: CVE-2023-37281
value: MEDIUM

Trust: 1.0

nvd@nist.gov: CVE-2023-37281
baseSeverity: MEDIUM
baseScore: 5.3
vectorString: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
attackVector: NETWORK
attackComplexity: LOW
privilegesRequired: NONE
userInteraction: NONE
scope: UNCHANGED
confidentialityImpact: LOW
integrityImpact: NONE
availabilityImpact: NONE
exploitabilityScore: 3.9
impactScore: 1.4
version: 3.1

Trust: 2.0

sources: NVD: CVE-2023-37281 // NVD: CVE-2023-37281

PROBLEMTYPE DATA

problemtype:CWE-125

Trust: 1.0

sources: NVD: CVE-2023-37281

EXTERNAL IDS

db:NVDid:CVE-2023-37281

Trust: 1.0

sources: NVD: CVE-2023-37281

REFERENCES

url:https://github.com/contiki-ng/contiki-ng/pull/2509

Trust: 1.0

url:https://github.com/contiki-ng/contiki-ng/security/advisories/ghsa-2v4c-9p48-g9pr

Trust: 1.0

sources: NVD: CVE-2023-37281

SOURCES

db:NVDid:CVE-2023-37281

LAST UPDATE DATE

2024-08-14T14:01:35.988000+00:00


SOURCES UPDATE DATE

db:NVDid:CVE-2023-37281date:2023-09-19T15:14:11.227

SOURCES RELEASE DATE

db:NVDid:CVE-2023-37281date:2023-09-15T20:15:08.310