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.
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published: 2021-11-29T00:00:00

Updated: 2024-08-04T21:31:37.498Z

Reserved: 2019-02-18T00:00:00

Link: CVE-2019-8922

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2021-11-29T08:15:07.627

Modified: 2024-11-21T04:50:39.823

Link: CVE-2019-8922

cve-icon Redhat

Severity : Moderate

Publid Date: 2019-02-25T00:00:00Z

Links: CVE-2019-8922 - Bugzilla