Out-of-bounds Read in Contiki-Ng
CVE-2023-37459
Contiki-NG is an operating system for internet-of-things devices. In versions 4.9 and prior, when a packet is received, the Contiki-NG network stack attempts to start the periodic TCP timer if it is a TCP packet with the SYN flag set. But the implementation does not first verify that a full TCP header has been received. Specifically, the implementation attempts to access the flags field from the TCP buffer in the following conditional expression in the `check_for_tcp_syn` function. For this reason, an attacker can inject a truncated TCP packet, which will lead to an out-of-bound read from the packet buffer. As of time of publication, a patched version is not available. As a workaround, one can apply the changes in Contiki-NG pull request #2510 to patch the system.
Vulnerability class: Buffer Overflow
EPSS: 0.004 (31.3th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N.
Affected products
- Contiki-ng — versions <= 4.9
Weakness classification (CWE)
References
- security-advisories@github.com (x_refsource_CONFIRM, Vendor Advisory)
- security-advisories@github.com (Patch, x_refsource_MISC, Issue Tracking)
Frequently asked questions
- What is CVE-2023-37459?
- CVE-2023-37459 is a medium-severity vulnerability in Contiki-Ng, classified under Out-of-bounds Read. CVSS score: 5.3/10. Published 2023-09-15.
- How severe is CVE-2023-37459?
- Medium severity. CVSS v3 base score is 5.3 out of 10.