CVE-2023-50229

Name
CVE-2023-50229
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-20936.
NVD Severity
medium
Other trackers
Mailing lists
Exploits
Forges
GitHub (code, issues), Aports (code, issues)

References

Type URI
vendor-advisory https://github.com/bluez/bluez/commit/5ab5352531a9cc7058cce569607f3a6831464443
x_research-advisory https://www.zerodayinitiative.com/advisories/ZDI-23-1811/

Match rules

CPE URI Source package Min version Max version
bluez == 5.66 == 5.66
cpe:2.3:a:bluez:bluez:5.66:*:*:*:*:*:*:* bluez == 5.66 == 5.66

Vulnerable and fixed packages

Source package Branch Version Maintainer Status
bluez 3.18-main 5.66-r5 Natanael Copa <ncopa@alpinelinux.org> possibly vulnerable
bluez 3.17-main 5.66-r1 Natanael Copa <ncopa@alpinelinux.org> possibly vulnerable