Vulnerability · Published Nov 12, 2021 · Assigned by GitHub_M

CVE-2021-41229Memory leak in BlueZ

Medium 4.3

In plain English

A medium-severity uncontrolled resource consumption in bluez from bluez. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.2% (higher than 68% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)4.3Medium
Exploit odds (30 days)1.2%top 32.1% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official description

BlueZ is a Bluetooth protocol stack for Linux. In affected versions a vulnerability exists in sdp_cstate_alloc_buf which allocates memory which will always be hung in the singly linked list of cstates and will not be freed. This will cause a memory leak over time. The data can be a very large object, which can be caused by an attacker continuously sending sdp packets and this may cause the service of the target device to crash.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:8bluez5.56-3.el8ALSA-2022:2081
AlmaLinux:8bluez-cups5.56-3.el8ALSA-2022:2081
AlmaLinux:8bluez-hid2hci5.56-3.el8ALSA-2022:2081
AlmaLinux:8bluez-libs5.56-3.el8ALSA-2022:2081
AlmaLinux:8bluez-libs-devel5.56-3.el8ALSA-2022:2081
AlmaLinux:8bluez-obexd5.56-3.el8ALSA-2022:2081
Debian:12bluez5.62-2DEBIAN-CVE-2021-41229
Debian:13bluez5.62-2DEBIAN-CVE-2021-41229
Debian:14bluez5.62-2DEBIAN-CVE-2021-41229
Rocky Linux:8bluez0:5.56-3.el8RLSA-2022:2081
Ubuntu:22.04:LTSbluez5.62-0ubuntu2UBUNTU-CVE-2021-41229

Affected products (as reported)

VendorProductVersions
bluez bluez = 5.58

Weakness: CWE-400 · Vector: CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

References