CVE-2019-8922

A heap-based buffer overflow was discovered in bluetoothd in BlueZ through 5.48

High · published November 29, 2021

CVSS v3.1
8.8
EPSS
2%
Percentile
74.3
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
8.8 · HIGH
Vector
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.01525 · 74.3th percentile
Published
2021-11-29T00:00Z
EPSS history
Timeline
  • 29 NOV 00:00Z
    A heap-based buffer overflow was discovered in bluetoothd in BlueZ through 5.48
    cvelistv5