Name | CVE-2023-51596 |
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-20939. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Debian Bugs | 1074419 |
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 | vulnerable |
| buster, buster (lts) | 5.50-1.2~deb10u6 | vulnerable |
| buster (security) | 5.50-1.2~deb10u5 | vulnerable |
| bullseye | 5.55-3.1+deb11u1 | vulnerable |
| bullseye (security) | 5.55-3.1+deb11u2 | vulnerable |
| bookworm | 5.66-1+deb12u2 | vulnerable |
| bookworm (security) | 5.66-1+deb12u1 | vulnerable |
| trixie, sid | 5.77-1 | vulnerable |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
bluez | source | jessie | (unfixed) | end-of-life | | |
bluez | source | (unstable) | (unfixed) | | | 1074419 |
Notes
[bookworm] - bluez <postponed> (Minor issue, revisit when/if fixed upstream)
[bullseye] - bluez <postponed> (Minor issue, revisit when/if fixed upstream)
[buster] - bluez <postponed> (Minor issue, revisit when/if fixed upstream)
https://www.zerodayinitiative.com/advisories/ZDI-23-1902/
[stretch] - bluez <postponed> (Minor issue, revisit when/if fixed upstream)