CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2019 · Bluez

CVE-2019-8922
Bluez vulnerability

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 products

Bluez, Debian Linux. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Bluez runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Set the orderSystems that can be reached from the internet come first, then the rest.

References

More vulnerabilities in Bluez products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.