CVE-2023-1901 HCI send_sync Dangling Semaphore Reference Re-use

Medium 5.9 Published Updated

A malicious Bluetooth controller can exploit a dangling semaphore reference in the Zephyr RTOS HCI host layer to cause a crash or execute arbitrary code.

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

What is CVE-2023-1901?

CVE-2023-1901 is a medium-severity use after free vulnerability in Zephyrproject Zephyr, published on 10 Jul 2023. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

The bluetooth HCI host layer logic not clearing a global reference to a semaphore after synchronously sending HCI commands may allow a malicious HCI Controller to cause the use of a dangling reference in the host layer, leading to a crash (DoS) or potential RCE on the Host layer.

Weakness: CWE-787, CWE-672

Which versions are affected by CVE-2023-1901?

It affects 1 product.

Products include Zephyrproject Zephyr.

How do I fix CVE-2023-1901?

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

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2023-1901 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-1901 exists.

All Zephyrproject Zephyr vulnerabilities

Sources

Also known as GHSA-xvvm-8mcm-9cq3.

Is CVE-2023-1901 in your software?

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

Check your SBOMs for free