Buffer overflow in Bluez
CVE-2023-50229
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-20936.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.0 (High). Vector: CVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.023, 83.5th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Bluez — versions 5.66
Weakness classification (CWE)
References
- ZDI-23-1811 (x_research-advisory, Third Party Advisory)
- vendor-provided URL (vendor-advisory, Patch)
- lists.debian.org/debian-lts-announce/2024/09/msg00022.html