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.
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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | bluez | 5.56-3.el8 | ALSA-2022:2081 |
| AlmaLinux:8 | bluez-cups | 5.56-3.el8 | ALSA-2022:2081 |
| AlmaLinux:8 | bluez-hid2hci | 5.56-3.el8 | ALSA-2022:2081 |
| AlmaLinux:8 | bluez-libs | 5.56-3.el8 | ALSA-2022:2081 |
| AlmaLinux:8 | bluez-libs-devel | 5.56-3.el8 | ALSA-2022:2081 |
| AlmaLinux:8 | bluez-obexd | 5.56-3.el8 | ALSA-2022:2081 |
| Debian:12 | bluez | 5.62-2 | DEBIAN-CVE-2021-41229 |
| Debian:13 | bluez | 5.62-2 | DEBIAN-CVE-2021-41229 |
| Debian:14 | bluez | 5.62-2 | DEBIAN-CVE-2021-41229 |
| Rocky Linux:8 | bluez | 0:5.56-3.el8 | RLSA-2022:2081 |
| Ubuntu:22.04:LTS | bluez | 5.62-0ubuntu2 | UBUNTU-CVE-2021-41229 |
Affected products (as reported)
Weakness: CWE-400 · Vector: CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
References
- https://github.com/bluez/bluez/security/advisories/GHSA-3fqg-r8j5-f5xq
- [debian-lts-announce] 20211127 [SECURITY] [DLA 2827-1] bluez security update mailing-list
- https://security.netapp.com/advisory/ntap-20211203-0004/
- [debian-lts-announce] 20221024 [SECURITY] [DLA 3157-1] bluez security update mailing-list
- https://lists.debian.org/debian-lts-announce/2024/09/msg00022.html