Name | CVE-2023-50230 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-3879-1, ELA-1177-1 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
bluez (PTS) | jessie, jessie (lts) | 5.43-2+deb9u2~deb8u6 | vulnerable |
| stretch (security) | 5.43-2+deb9u5 | vulnerable |
| stretch (lts), stretch | 5.43-2+deb9u8 | fixed |
| buster, buster (lts) | 5.50-1.2~deb10u6 | fixed |
| buster (security) | 5.50-1.2~deb10u5 | vulnerable |
| bullseye | 5.55-3.1+deb11u1 | vulnerable |
| bullseye (security) | 5.55-3.1+deb11u2 | fixed |
| bookworm | 5.66-1+deb12u2 | fixed |
| bookworm (security) | 5.66-1+deb12u1 | vulnerable |
| sid, trixie | 5.79-1 | fixed |
The information below is based on the following data on fixed versions.
Notes
[buster] - bluez <postponed> (Minor issue; can be fixed in next update)
https://www.zerodayinitiative.com/advisories/ZDI-23-1812/
https://github.com/bluez/bluez/commit/5ab5352531a9cc7058cce569607f3a6831464443 (5.70)
[jessie] - bluez <postponed> (Minor issue; can be fixed in next update)