CVE-2024-47181 Unaligned memory access in RPL option processing in Contiki-NG

High 7.5 Published Updated

Attackers can crash IoT devices running Contiki-NG by sending crafted IPv6 packets with odd padding before RPL options, causing unaligned memory access.

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-2024-47181?

CVE-2024-47181 is a high-severity denial of service vulnerability in contiki-ng, published on 27 Nov 2024. 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. An unaligned memory access can be triggered in the two RPL implementations of the Contiki-NG operating system. The problem can occur when either one of these RPL implementations is enabled and connected to an RPL instance. If an IPv6 packet containing an odd number of padded bytes before the RPL option, it can cause the rpl_ext_header_hbh_update function to read a 16-bit integer from an odd address. The impact of this unaligned read is architecture-dependent, but can potentially cause the system to crash. The problem has not been patched as of release 4.9, but will be included in the next release. One can apply the changes in Contiki-NG pull request #2962 to patch the system or wait for the next release.

Weakness: CWE-704

Which versions are affected by CVE-2024-47181?

It affects 1 product.

Products include Contiki-Ng Contiki-Ng.

How do I fix CVE-2024-47181?

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

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2024-47181 being exploited?

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

Sources

Also known as GHSA-crjw-x84h-h6x3.

Is CVE-2024-47181 in your software?

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

Check your SBOMs for free