Memory Leak Affecting bluez package, versions <0:5.56-3.el8


Severity

Recommended
low

Based on AlmaLinux security rating.

Threat Intelligence

EPSS
0.08% (36th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Memory Leak vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-ALMALINUX8-BLUEZ-5615068
  • published28 May 2023
  • disclosed10 May 2022

Introduced: 10 May 2022

CVE-2021-41229  (opens in a new tab)
CWE-401  (opens in a new tab)

How to fix?

Upgrade AlmaLinux:8 bluez to version 0:5.56-3.el8 or higher.
This issue was patched in ALSA-2022:2081.

NVD Description

Note: Versions mentioned in the description apply only to the upstream bluez package and not the bluez package as distributed by AlmaLinux. See How to fix? for AlmaLinux:8 relevant fixed versions and status.

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.

CVSS Scores

version 3.1