CVE-2022-35926 Out-of-bounds read in IPv6 neighbor solicitation in Contiki-NG

Medium 5.9 Published Updated

Attackers can trigger an out-of-bounds read in IPv6 neighbor solicitation handling, potentially causing crashes or leaking memory.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2022-35926?

CVE-2022-35926 is a medium-severity memory corruption vulnerability in contiki-ng, published on 4 Aug 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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.

Weakness: CWE-125

Which versions are affected by CVE-2022-35926?

It affects 1 product.

Products include Contiki-Ng Contiki-Ng.

How do I fix CVE-2022-35926?

No fix has been published for CVE-2022-35926 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2022-35926 being exploited?

There is no known exploitation of CVE-2022-35926 in the wild and no public exploit code.

Sources

Also known as GHSA-4hpq-4f53-w386.

Is CVE-2022-35926 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free