CVE-2023-50230

High

Description

BlueZ Phone Book Access Profile Heap-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of BlueZ. User interaction is required to exploit this vulnerability in that the target must connect to a malicious Bluetooth device. The specific flaw exists within the handling of the Phone Book Access profile. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a fixed-length heap-based buffer. An attacker can leverage this vulnerability to execute code in the context of root. Was ZDI-CAN-20938.

SeverityHigh
CVSS8.0
Exploit probability—
ProductBluez
PublishedMay 3, 2024
First seenMay 3, 2024
Weakness typeCWE-122CWE-122

How to fix

Update
  • bluez bluez5.70 or later

Affected products

ProductAffected versionsFixed in
bluez bluez5.66 ≤ v < 5.705.70

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.