CVEfocus › CVE database › CVE-2021-3588

CVE-2021-3588memory contents disclosure in cli_feat_read_cb

CVSS 3.3 LowEPSS 0.4% (higher than 31% of CVEs)Published 2021-06-10Updated 2024-09-16Assigner: canonical

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.

CWE-125CWE-788

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

4Fixed
8Fix pending
12Will not fix
6Not affected

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 22.04bluezNot affected
vulnerable_code_not_present
Ubuntu 20.04bluezFixed5.53-0ubuntu3.2UBUNTU-CVE-2021-3588
Ubuntu 16.04bluezFix pending
Ubuntu 14.04bluezFix pending
Debian 14bluezFixed5.55-3.1DEBIAN-CVE-2021-3588
Debian 13bluezFixed5.55-3.1DEBIAN-CVE-2021-3588
Debian 12bluezFixed5.55-3.1DEBIAN-CVE-2021-3588
Red Hat Enterprise Linux 9bluezNot affected
Red Hat Enterprise Linux 9bluez-cupsNot affected
Red Hat Enterprise Linux 9bluez-libsNot affected
Red Hat Enterprise Linux 9bluez-libs-develNot affected
Red Hat Enterprise Linux 9bluez-obexdNot affected
Red Hat Enterprise Linux 8bluezFix pending
Affected
Red Hat Enterprise Linux 8bluez-cupsFix pending
Affected
Red Hat Enterprise Linux 8bluez-hid2hciFix pending
Affected
Red Hat Enterprise Linux 8bluez-libsFix pending
Affected
Red Hat Enterprise Linux 8bluez-libs-develFix pending
Affected
Red Hat Enterprise Linux 8bluez-obexdFix pending
Affected
Red Hat Enterprise Linux 7bluezWill not fix
Out of support scope
Red Hat Enterprise Linux 7bluez-cupsWill not fix
Out of support scope
Red Hat Enterprise Linux 7bluez-hid2hciWill not fix
Out of support scope
Red Hat Enterprise Linux 7bluez-libsWill not fix
Out of support scope
Red Hat Enterprise Linux 7bluez-libs-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6bluezWill not fix
Out of support scope
Red Hat Enterprise Linux 6bluez-alsaWill not fix
Out of support scope
Red Hat Enterprise Linux 6bluez-compatWill not fix
Out of support scope
Red Hat Enterprise Linux 6bluez-cupsWill not fix
Out of support scope
Red Hat Enterprise Linux 6bluez-gstreamerWill not fix
Out of support scope
Red Hat Enterprise Linux 6bluez-libsWill not fix
Out of support scope
Red Hat Enterprise Linux 6bluez-libs-develWill 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.

Solution: https://git.kernel.org/pub/scm/bluetooth/bluez.git/commit/src/gatt-database.c?id=6a50b6aeda78a88eafb177718109c256eec077a6

Vendor advisories:

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.