CVE-2023-51596

NameCVE-2023-51596
DescriptionBlueZ 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1074419

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
bluez (PTS)bullseye5.55-3.1+deb11u1vulnerable
bullseye (security)5.55-3.1+deb11u2vulnerable
bookworm5.66-1+deb12u2vulnerable
bookworm (security)5.66-1+deb12u1vulnerable
sid, trixie5.77-1vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
bluezsource(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/

Search for package or bug name: Reporting problems