An issue was discovered in bluetoothd in BlueZ through 5.48. The vulnerability lies in the handling of a SVCATTRREQ by the SDP implementation. By crafting a malicious CSTATE, it is possible to trick the server into returning more bytes than the buffer actually holds, resulting in leaking arbitrary heap data. The root cause can be found in the function serviceattrreq of sdpd-request.c. The server does not check whether the CSTATE data is the same in consecutive requests, and instead simply trusts that it is the same.
{ "availability": "No subscription required", "ubuntu_priority": "medium", "binaries": [ { "binary_version": "5.48-0ubuntu3.6", "binary_name": "bluetooth" }, { "binary_version": "5.48-0ubuntu3.6", "binary_name": "bluez" }, { "binary_version": "5.48-0ubuntu3.6", "binary_name": "bluez-cups" }, { "binary_version": "5.48-0ubuntu3.6", "binary_name": "bluez-dbg" }, { "binary_version": "5.48-0ubuntu3.6", "binary_name": "bluez-hcidump" }, { "binary_version": "5.48-0ubuntu3.6", "binary_name": "bluez-obexd" }, { "binary_version": "5.48-0ubuntu3.6", "binary_name": "bluez-tests" }, { "binary_version": "5.48-0ubuntu3.6", "binary_name": "libbluetooth-dev" }, { "binary_version": "5.48-0ubuntu3.6", "binary_name": "libbluetooth3" }, { "binary_version": "5.48-0ubuntu3.6", "binary_name": "libbluetooth3-dbg" } ] }
{ "availability": "No subscription required", "ubuntu_priority": "medium", "binaries": [ { "binary_version": "5.53-0ubuntu3", "binary_name": "bluetooth" }, { "binary_version": "5.53-0ubuntu3", "binary_name": "bluez" }, { "binary_version": "5.53-0ubuntu3", "binary_name": "bluez-cups" }, { "binary_version": "5.53-0ubuntu3", "binary_name": "bluez-dbg" }, { "binary_version": "5.53-0ubuntu3", "binary_name": "bluez-hcidump" }, { "binary_version": "5.53-0ubuntu3", "binary_name": "bluez-obexd" }, { "binary_version": "5.53-0ubuntu3", "binary_name": "bluez-tests" }, { "binary_version": "5.53-0ubuntu3", "binary_name": "libbluetooth-dev" }, { "binary_version": "5.53-0ubuntu3", "binary_name": "libbluetooth3" }, { "binary_version": "5.53-0ubuntu3", "binary_name": "libbluetooth3-dbg" } ] }