CVE-2023-27349

NameCVE-2023-27349
DescriptionBlueZ Audio Profile AVRCP Improper Validation of Array Index Remote Code Execution Vulnerability. This vulnerability allows network-adjacent attackers to execute arbitrary code via Bluetooth on affected installations of BlueZ. User interaction is required to exploit this vulnerability in that the target must connect to a malicious device. The specific flaw exists within the handling of the AVRCP protocol. The issue results from the lack of proper validation of user-supplied data, which can result in a write past the end of an allocated buffer. An attacker can leverage this vulnerability to execute code in the context of root. Was ZDI-CAN-19908.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-3820-1, DLA-3879-1, ELA-1177-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
bluez (PTS)jessie, jessie (lts)5.43-2+deb9u2~deb8u6vulnerable
stretch (security)5.43-2+deb9u5vulnerable
stretch (lts), stretch5.43-2+deb9u8fixed
buster, buster (lts)5.50-1.2~deb10u6fixed
buster (security)5.50-1.2~deb10u5vulnerable
bullseye5.55-3.1+deb11u1vulnerable
bullseye (security)5.55-3.1+deb11u2fixed
bookworm5.66-1+deb12u2fixed
bookworm (security)5.66-1+deb12u1vulnerable
trixie, sid5.77-1fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
bluezsourcejessie(unfixed)end-of-life
bluezsourcestretch5.43-2+deb9u8ELA-1177-1
bluezsourcebuster5.50-1.2~deb10u6ELA-1177-1
bluezsourcebullseye5.55-3.1+deb11u2DLA-3879-1
bluezsourcebookworm5.66-1+deb12u2
bluezsource(unstable)5.68-1

Notes

https://www.zerodayinitiative.com/advisories/ZDI-23-386/
https://git.kernel.org/pub/scm/bluetooth/bluez.git/commit/?id=f54299a850676d92c3dafd83e9174fcfe420ccc9 (5.67)

Search for package or bug name: Reporting problems