CVE Vulnerabilities

CVE-2021-41229

Uncontrolled Resource Consumption

Published: Nov 12, 2021 | Modified: Nov 21, 2024
CVSS 3.x
6.5
MEDIUM
Source:
NVD
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.x
3.3 LOW
AV:A/AC:L/Au:N/C:N/I:N/A:P
RedHat/V2
RedHat/V3
4.3 LOW
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Ubuntu
LOW

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.

Weakness

The product does not properly control the allocation and maintenance of a limited resource.

Affected Software

Name Vendor Start Version End Version
Bluez Bluez 5.58 (including) 5.58 (including)
Red Hat Enterprise Linux 8 RedHat bluez-0:5.56-3.el8 *
Red Hat Enterprise Linux 8 RedHat bluez-0:5.56-3.el8 *
Bluez Ubuntu bionic *
Bluez Ubuntu devel *
Bluez Ubuntu esm-infra/bionic *
Bluez Ubuntu esm-infra/focal *
Bluez Ubuntu esm-infra/xenial *
Bluez Ubuntu focal *
Bluez Ubuntu hirsute *
Bluez Ubuntu impish *
Bluez Ubuntu jammy *
Bluez Ubuntu kinetic *
Bluez Ubuntu lunar *
Bluez Ubuntu mantic *
Bluez Ubuntu noble *
Bluez Ubuntu oracular *
Bluez Ubuntu plucky *
Bluez Ubuntu trusty *
Bluez Ubuntu xenial *

Potential Mitigations

  • Mitigation of resource exhaustion attacks requires that the target system either:

  • The first of these solutions is an issue in itself though, since it may allow attackers to prevent the use of the system by a particular valid user. If the attacker impersonates the valid user, they may be able to prevent the user from accessing the server in question.

  • The second solution is simply difficult to effectively institute – and even when properly done, it does not provide a full solution. It simply makes the attack require more resources on the part of the attacker.

References