CVE-2023-1902 HCI Connection Creation Dangling State Reference Re-use

Medium 5.9 Published Updated

A malicious Bluetooth controller can trigger a use-after-free in the Zephyr RTOS host layer, causing a crash or potential remote code execution.

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-1902?

CVE-2023-1902 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 state pointer after handling connection events 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-416, CWE-672

Which versions are affected by CVE-2023-1902?

It affects 1 product.

Products include Zephyrproject Zephyr.

How do I fix CVE-2023-1902?

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

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

All Zephyrproject Zephyr vulnerabilities

Sources

Is CVE-2023-1902 in your software?

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

Check your SBOMs for free