CVE-2023-50229: BlueZ Phone Book Access Profile Heap-based Buffer Overflow Remote Code Execution Vulnerability
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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/bluezto a version that resolves this vulnerability.Fixed in 5.55-3.1+deb11u2Fixed in 5.66-1+deb12u2Fixed in 5.79-1
Event History
Frequently Asked Questions
What is the severity of CVE-2023-50229?
CVE-2023-50229 is classified as high severity due to its potential for remote code execution.
How do I fix CVE-2023-50229?
To fix CVE-2023-50229, upgrade BlueZ to version 5.55-3.1+deb11u2, 5.66-1+deb12u2, or 5.79-1.
What type of vulnerability is CVE-2023-50229?
CVE-2023-50229 is a heap-based buffer overflow vulnerability.
Who is affected by CVE-2023-50229?
CVE-2023-50229 affects installations of the BlueZ software that are prior to the fixed versions.
Is user interaction required to exploit CVE-2023-50229?
Yes, user interaction is required to exploit CVE-2023-50229 as it involves the Phone Book Access Profile.