CVE-2023-37459 Out-of-bounds read when processing a received IPv6 packet
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
Description
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| Contiki-NG | <= 4.9; = <= 4.9 | after 4.9 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| Contiki-NG | = <= 4.9 | No fix listed |
| Contiki-NG | <= 4.9 | No fix listed |
References
- https://github.com/contiki-ng/contiki-ng/security/advisories/GHSA-6648-m23r-hq8c vendor-advisory
- https://github.com/contiki-ng/contiki-ng/pull/2510 issue-tracking patch