CVE-2021-3581 Buffer Access with Incorrect Length Value in zephyr

High 7.0 Published Updated

An attacker can exploit a buffer access flaw in Zephyr RTOS to cause memory corruption, potentially leading to code execution or denial of service.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2021-3581?

CVE-2021-3581 is a high-severity memory corruption vulnerability in Zephyrproject Zephyr, published on 5 Oct 2021. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

Buffer Access with Incorrect Length Value in zephyr. Zephyr versions >= >=2.5.0 contain Buffer Access with Incorrect Length Value (CWE-805). For more information, see https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-8q65-5gqf-fmw5

Weakness: CWE-1284, CWE-805

Which versions are affected by CVE-2021-3581?

It affects 1 product.

Products include Zephyrproject Zephyr.

How do I fix CVE-2021-3581?

No fix has been published for CVE-2021-3581 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-3581 being exploited?

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

All Zephyrproject Zephyr vulnerabilities

Sources

Is CVE-2021-3581 in your software?

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

Check your SBOMs for free