CVE-2021-3588memory contents disclosure in cli_feat_read_cb
The cli_feat_read_cb() function in src/gatt-database.c does not perform bounds checks on the 'offset' variable before using it as an index into an array for reading.
What to do
Fixed builds are available from Debian, Ubuntu: see the table below for the fixed version per release.
Red Hat, Ubuntu have 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 22.04 | bluez | Not affected vulnerable_code_not_present | ||
| Ubuntu 20.04 | bluez | Fixed | 5.53-0ubuntu3.2 | UBUNTU-CVE-2021-3588 |
| Ubuntu 16.04 | bluez | Fix pending | ||
| Ubuntu 14.04 | bluez | Fix pending | ||
| Debian 14 | bluez | Fixed | 5.55-3.1 | DEBIAN-CVE-2021-3588 |
| Debian 13 | bluez | Fixed | 5.55-3.1 | DEBIAN-CVE-2021-3588 |
| Debian 12 | bluez | Fixed | 5.55-3.1 | DEBIAN-CVE-2021-3588 |
| 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 | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | bluez-cups | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | bluez-hid2hci | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | bluez-libs | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | bluez-libs-devel | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | bluez-obexd | Fix pending Affected | ||
| Red Hat Enterprise Linux 7 | bluez | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | bluez-cups | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | bluez-hid2hci | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | bluez-libs | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | bluez-libs-devel | Will not fix Out of support scope | ||
| 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 |
What the vendor says
As published in the CVE record by canonical, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- BlueZ: affected: unspecified to before 5.56; fixed in
5.56
Solution: https://git.kernel.org/pub/scm/bluetooth/bluez.git/commit/src/gatt-database.c?id=6a50b6aeda78a88eafb177718109c256eec077a6
Vendor advisories:
- https://security.gentoo.org/glsa/202209-16 (vendor-advisory)
References
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.