Memory leak in BlueZ
Key facts
- Attack vector
- Adjacent network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Partial Red Hat: 3 fixed, 2 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-400.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| BlueZ | bluez | = 5.58 | — | No fix listed | CNA |
- bluez VendorBlueZ Affected = 5.58 Fixed in — No fix listed CNA
Remediation
Red Hat 1 advisory
- RHSA-2022:2081 Released 2022-05-10 · Red Hat rating Lowbluez security update
- Red Hat Enterprise Linux AppStream (v. 8) bluez-cups-5.56-3.el8
- Red Hat Enterprise Linux BaseOS (v. 8) bluez-5.56-3.el8, bluez-hid2hci-5.56-3.el8, bluez-libs-5.56-3.el8 +1
- Red Hat Enterprise Linux CRB (v. 8) bluez-libs-devel-5.56-3.el8
Vendor assessments
Red Hat
Red Hat rating: Low. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 6 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 7 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux AppStream (v. 8) | Fixed | RHSA-2022:2081 |
| Red Hat Enterprise Linux BaseOS (v. 8) | Fixed | RHSA-2022:2081 |
| Red Hat Enterprise Linux CRB (v. 8) | Fixed | RHSA-2022:2081 |
Not affected: 1 product
- Red Hat Enterprise Linux 9
Timeline
- 2026-10-02 Threatist record created from CVE-2021-41229
References
More Bluez vulnerabilities
- TI-2020-16504 In BlueZ before 5.55, a double free was found in the gatttool disconnect_cb() routine… CVSS 3.1HIGH 8.6
- TI-2024-08171 Improper access control in BlueZ CVSS 3.1HIGH 8.8
- TI-2022-00141 Memory corruption in bluez CVSS 3.1HIGH 8.8
- TI-2021-19345 An issue was discovered in gatt-database.c in BlueZ 5.61. CVSS 3.1CRITICAL 9.1
- TI-2019-06435 A heap-based buffer overflow was discovered in bluetoothd in BlueZ through 5.48. CVSS 3.1HIGH 8.8
- TI-2023-27461 Heap-based buffer overflow in BlueZ CVSS 3.1HIGH 8.0
Sources
- CVE-2021-41229 · CVE Program
- CVE-2021-41229 · NVD
- FIRST EPSS
- CVE-2021-41229 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences