CVE-2019-8922

bluez: A heap-based buffer overflow was discovered in bluetoothd in BlueZ through 5.48

CVE-2019-8922 is fixed in 7 products on 1 platform, first by bluetooth 5.48-0ubuntu3.7, released November 29, 2021. It is not reported as exploited. Patch Radar priority: High.

High
CVSS
8.8
high
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0153
74th percentile

A heap-based buffer overflow was discovered in bluetoothd in BlueZ through 5.48. There isn't any check on whether there is enough space in the destination buffer. The function simply appends all data passed to it. The values of all attributes that are requested are appended to the output buffer. There are no size checks whatsoever, resulting in a simple heap overflow if one can craft a request where the response is large enough to overflow the preallocated buffer. This issue exists in service_attr_req gets called by process_request (in sdpd-request.c), which also allocates the response buffer.

Where it's fixed

ProductFixed inFixReleased
Linux
bluetooth · Ubuntu 18.04.6 LTS (bionic) 5.48-0ubuntu3.7 bluetooth 5.48-0ubuntu3.7 Nov 29, 2021
bluez · Debian 12.15 (bookworm) 5.54-1 DEBIAN-CVE-2019-8922 Nov 29, 2021
bluez · Debian 13.5 (trixie) 5.54-1 DEBIAN-CVE-2019-8922 Nov 29, 2021
bluez · Debian 14 5.54-1 DEBIAN-CVE-2019-8922 Nov 29, 2021
bluez · Ubuntu 18.04.6 LTS (bionic) 5.48-0ubuntu3.7 bluez 5.48-0ubuntu3.7 Nov 29, 2021
bluez-cups · Ubuntu 18.04.6 LTS (bionic) 5.48-0ubuntu3.7 bluez-cups 5.48-0ubuntu3.7 Nov 29, 2021
bluez-hcidump · Ubuntu 18.04.6 LTS (bionic) 5.48-0ubuntu3.7 bluez-hcidump 5.48-0ubuntu3.7 Nov 29, 2021
bluez-obexd · Ubuntu 18.04.6 LTS (bionic) 5.48-0ubuntu3.7 bluez-obexd 5.48-0ubuntu3.7 Nov 29, 2021
bluez-tests · Ubuntu 18.04.6 LTS (bionic) 5.48-0ubuntu3.7 bluez-tests 5.48-0ubuntu3.7 Nov 29, 2021
libbluetooth3 · Ubuntu 18.04.6 LTS (bionic) 5.48-0ubuntu3.7 libbluetooth3 5.48-0ubuntu3.7 Nov 29, 2021

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.