CVEvulnerability

CVE-2019-8922

8.8 HIGH Published 2021-11-29 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2021-11-29
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.1 ([email protected])
8.8 HIGH — CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
8.8 HIGH — CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0 ([email protected])
5.8 MEDIUM — AV:A/AC:L/Au:N/C:P/I:P/A:P
Weaknesses
CWE-787

Description

A heap-based buffer overflow was discovered in bluetoothd in BlueZ through 5.48. There isn't any check on whether there is enough space in the destination buffer. The function simply appends all data passed to it. The values of all attributes that are requested are appended to the output buffer. There are no size checks whatsoever, resulting in a simple heap overflow if one can craft a request where the response is large enough to overflow the preallocated buffer. This issue exists in service_attr_req gets called by process_request (in sdpd-request.c), which also allocates the response buffer.

Affected configurations

• bluez bluez (<= 5.48) • debian debian linux 10.0

Related

Weakness · CWE (1)

  • CWE-787 Out-of-bounds Write weakness

References