CVE-2021-3588 memory contents disclosure in cli_feat_read_cb

Low 3.3 Published Updated

An attacker can read sensitive memory contents due to missing bounds checks in the BlueZ Bluetooth stack's GATT database handler.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2021-3588?

CVE-2021-3588 is a low-severity vulnerability in BlueZ, published on 10 Jun 2021. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

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.

Weakness: CWE-788, CWE-125

Which versions are affected by CVE-2021-3588?

It affects 1 product.

Linux distribution packages (4)
bluez SUSE:Linux Enterprise Module for Basesystem 15 SP3All versions5.55-3.6.1
bluez SUSE:Linux Enterprise Module for Desktop Applications 15 SP3All versions5.55-3.6.1
bluez SUSE:Linux Enterprise Workstation Extension 15 SP3All versions5.55-3.6.1
bluez openSUSE:Leap 15.3All versions5.55-3.6.1

Products include Bluez Bluez.

How do I fix CVE-2021-3588?

Apply the vendor's patch.

Is CVE-2021-3588 being exploited?

There is no known exploitation of CVE-2021-3588 in the wild and no public exploit code.

Sources

Also known as AZL-7183, DEBIAN-CVE-2021-3588, GHSA-3h8m-q4x3-3fhw, OESA-2021-1254, SUSE-SU-2021:2459-1, UBUNTU-CVE-2021-3588 and 1 more.

Is CVE-2021-3588 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free