Out-of-bounds Read in Contiki-Ng
CVE-2022-35926
Contiki-NG is an open-source, cross-platform operating system for IoT devices. Because of insufficient validation of IPv6 neighbor discovery options in Contiki-NG, attackers can send neighbor solicitation packets that trigger an out-of-bounds read. The problem exists in the module os/net/ipv6/uip-nd6.c, where memory read operations from the main packet buffer, <code>uip_buf</code>, are not checked if they go out of bounds. In particular, this problem can occur when attempting to read the 2-byte option header and the Source Link-Layer Address Option (SLLAO). This attack requires ipv6 be enabled for the network. The problem has been patched in the develop branch of Contiki-NG. The upcoming 4.8 release of Contiki-NG will include the patch.Users unable to upgrade may apply the patch in Contiki-NG PR #1654.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.9 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS: 0.012 (67.5th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 68th percentile — 67.5% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.012 · newest: 0.012 · change: +0.000
Affected products
- Contiki-Ng — versions < 4.8
Weakness classification (CWE)
References
- github.com/contiki-ng/contiki-ng/releases/tag/release/v4.8 (Third Party Advisory)
- github.com/contiki-ng/contiki-ng/security/advisories/GHSA-4hpq-4f53-w386 (Third Party Advisory)
- github.com/contiki-ng/contiki-ng/pull/1654 (Patch, Third Party Advisory)
- github.com/contiki-ng/contiki-ng/pull/1654/commits/a4597001d50a04f4b9c78f323ba7… (Patch, Third Party Advisory)
Frequently asked questions
- What is CVE-2022-35926?
- CVE-2022-35926 is a medium-severity vulnerability in Contiki-Ng, classified under Out-of-bounds Read. CVSS score: 5.9/10. Published 2022-08-04.
- How severe is CVE-2022-35926?
- Medium severity. CVSS v3 base score is 5.9 out of 10.