CVE-2021-21280 Out-of-bounds write when processing 6LoWPAN extension headers
An attacker can cause an out-of-bounds write in Contiki-NG by sending a crafted 6LoWPAN packet, potentially leading to code execution or denial of service.
- 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-2021-21280?
CVE-2021-21280 is a high-severity memory corruption vulnerability in contiki-ng, published on 18 Jun 2021. 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 internet of things devices. It is possible to cause an out-of-bounds write in versions of Contiki-NG prior to 4.6 when transmitting a 6LoWPAN packet with a chain of extension headers. Unfortunately, the written header is not checked to be within the available space, thereby making it possible to write outside the buffer. The problem has been patched in Contiki-NG 4.6. Users can apply the patch for this vulnerability out-of-band as a workaround.
Weakness: CWE-787
Which versions are affected by CVE-2021-21280?
It affects 1 product.
Products include Contiki-Ng Contiki-Ng.
How do I fix CVE-2021-21280?
No fix has been published for CVE-2021-21280 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-2021-21280 being exploited?
There is no known exploitation of CVE-2021-21280 in the wild and no public exploit code.