CVE-2021-3434 L2CAP: Stack based buffer overflow in le_ecred_conn_req()

Medium 4.9 Published Updated

A stack-based buffer overflow in the L2CAP protocol allows attackers to execute arbitrary code or cause a denial of service in Zephyr RTOS devices.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2021-3434?

CVE-2021-3434 is a medium-severity memory corruption vulnerability in Zephyrproject Zephyr, published on 28 Jun 2022. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

Stack based buffer overflow in le_ecred_conn_req(). Zephyr versions >= v2.5.0 Stack-based Buffer Overflow (CWE-121). For more information, see https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-8w87-6rfp-cfrm

Weakness: CWE-787, CWE-121

Which versions are affected by CVE-2021-3434?

It affects 1 product.

Products include Zephyrproject Zephyr.

How do I fix CVE-2021-3434?

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

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

All Zephyrproject Zephyr vulnerabilities

Sources

Is CVE-2021-3434 in your software?

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

Check your SBOMs for free