Out-of-bounds read in BlueZ - CVE-2021-3588

 

Out-of-bounds read in BlueZ - CVE-2021-3588

Published: September 29, 2022


Vulnerability identifier: #VU67751
CSH Severity: Low
CVSS v4: 5.3 [CVSS:4.0/AV:A/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2021-3588
CWE-ID: CWE-125
Exploitation vector: Adjecent network
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to gain access to potentially sensitive information.

The vulnerability exists due to a boundary condition within the cli_feat_read_cb() function in src/gatt-database.c. A remote attacker on the local network can trigger an out-of-bounds read error and read contents of memory on the system.


Affected software

BlueZ
Gentoo Linux
SUSE Linux Enterprise Workstation Extension
SUSE Linux Enterprise Module for Desktop Applications
SUSE Linux Enterprise Module for Basesystem
Ubuntu
openEuler
bluez (Ubuntu package)
libbluetooth3 (Ubuntu package)
bluez-help
bluez-cups
bluez-debugsource
bluez-devel
bluez-debuginfo
bluez-libs
bluez
libbluetooth3-debuginfo
libbluetooth3
bluez-cups-debuginfo
net-wireless/bluez

How to mitigate CVE-2021-3588

Install updates from vendor's website.

BlueZ - update to 5.56
bluez (Ubuntu package) - addressed in versions 5.48-0ubuntu3.5, 5.53-0ubuntu3.2, 5.55-0ubuntu1.2, 5.56-0ubuntu4.1
libbluetooth3 (Ubuntu package) - addressed in versions 5.48-0ubuntu3.5, 5.53-0ubuntu3.2, 5.55-0ubuntu1.2, 5.56-0ubuntu4.1
bluez-help - update to 5.54-3
bluez-cups - update to 5.54-3
bluez-debugsource - update to 5.54-3
bluez-devel - update to 5.54-3
bluez-debuginfo - update to 5.54-3
bluez-libs - update to 5.54-3
bluez - update to 5.54-3
libbluetooth3-debuginfo - update to 5.55-3.6.1
libbluetooth3 - update to 5.55-3.6.1
bluez - update to 5.55-3.6.1
bluez-devel - update to 5.55-3.6.1
bluez-debugsource - update to 5.55-3.6.1
bluez-debuginfo - update to 5.55-3.6.1
bluez-cups-debuginfo - update to 5.55-3.6.1
bluez-cups - update to 5.55-3.6.1
net-wireless/bluez - update to 5.63

External References

Related Security Bulletins