CVE-2019-8922
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.
What to do
Fixed builds are available from Debian, Ubuntu: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 24.04 | bluez | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | bluez | Not affected vulnerable_code_not_present | ||
| Ubuntu 18.04 | bluez | Fixed | 5.48-0ubuntu3.7 | UBUNTU-CVE-2019-8922 |
| Ubuntu 16.04 | bluez | Fix pending | 5.37-0ubuntu5.3+esm5 (Ubuntu Pro) | UBUNTU-CVE-2019-8922 |
| Ubuntu 14.04 | bluez | Fix pending | ||
| Debian 14 | bluez | Fixed | 5.54-1 | DEBIAN-CVE-2019-8922 |
| Debian 13 | bluez | Fixed | 5.54-1 | DEBIAN-CVE-2019-8922 |
| Debian 12 | bluez | Fixed | 5.54-1 | DEBIAN-CVE-2019-8922 |
| Red Hat Enterprise Linux 9 | bluez | Not affected | ||
| Red Hat Enterprise Linux 9 | bluez-cups | Not affected | ||
| Red Hat Enterprise Linux 9 | bluez-libs | Not affected | ||
| Red Hat Enterprise Linux 9 | bluez-libs-devel | Not affected | ||
| Red Hat Enterprise Linux 9 | bluez-obexd | Not affected | ||
| Red Hat Enterprise Linux 8 | bluez | Not affected | ||
| Red Hat Enterprise Linux 8 | bluez-cups | Not affected | ||
| Red Hat Enterprise Linux 8 | bluez-hid2hci | Not affected | ||
| Red Hat Enterprise Linux 8 | bluez-libs | Not affected | ||
| Red Hat Enterprise Linux 8 | bluez-libs-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | bluez-obexd | Not affected | ||
| Red Hat Enterprise Linux 7 | bluez | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | bluez-cups | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | bluez-hid2hci | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | bluez-libs | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | bluez-libs-devel | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | bluez | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | bluez-alsa | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | bluez-compat | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | bluez-cups | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | bluez-gstreamer | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | bluez-libs | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | bluez-libs-devel | Will not fix Out of support scope |
References
- https://ssd-disclosure.com/ssd-advisory-linux-bluez-information-leak-and-heap-overflow/
- https://security.netapp.com/advisory/ntap-20211203-0002/
- https://lists.debian.org/debian-lts-announce/2022/10/msg00026.html
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.