Vulnerability · Published May 3, 2024 · Assigned by zdi
CVE-2023-50230BlueZ Phone Book Access Profile Heap-based Buffer Overflow Remote Code Execution Vulnerability
High 7.1
In plain English
A high-severity heap buffer overflow in BlueZ from BlueZ. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.5% (higher than 74% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:9 | bluez | 5.72-2.el9 | ALSA-2024:9413 |
| AlmaLinux:9 | bluez-cups | 5.72-2.el9 | ALSA-2024:9413 |
| AlmaLinux:9 | bluez-libs | 5.72-2.el9 | ALSA-2024:9413 |
| AlmaLinux:9 | bluez-libs-devel | 5.72-2.el9 | ALSA-2024:9413 |
| AlmaLinux:9 | bluez-obexd | 5.72-2.el9 | ALSA-2024:9413 |
| Debian:12 | bluez | 5.66-1+deb12u2 | DEBIAN-CVE-2023-50230 |
| Debian:13 | bluez | 5.70-1 | DEBIAN-CVE-2023-50230 |
| Debian:14 | bluez | 5.70-1 | DEBIAN-CVE-2023-50230 |
| Rocky Linux:9 | bluez | 0:5.72-2.el9 | RLSA-2024:9413 |
| Ubuntu:22.04:LTS | bluez | 5.64-0ubuntu1.4 | USN-7222-1 |
| Ubuntu:22.04:LTS | bluez | 5.64-0ubuntu1.4 | UBUNTU-CVE-2023-50230 |
Affected products (as reported)
Weakness: CWE-122 · Vector: CVSS:3.0/AV:A/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
References
- ZDI-23-1812 x_research-advisory
- vendor-provided URL vendor-advisory
- https://lists.debian.org/debian-lts-announce/2024/09/msg00022.html