p PatchFirst

CVE-2019-8922

CVE-2019-8922

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 8.8 · High · EPSS 1.5% · Fix available

Published
Updated

Stack: system

Affected products and versions

  • n/a

    Versions
    • n/a: Affected

    No fix published

  • bluez Debian:12

    Affected ranges
    • ECOSYSTEM: < 5.54-1

    Update to 5.54-1

  • bluez Debian:13

    Affected ranges
    • ECOSYSTEM: < 5.54-1

    Update to 5.54-1

  • bluez Debian:14

    Affected ranges
    • ECOSYSTEM: < 5.54-1

    Update to 5.54-1

  • bluez Ubuntu:Pro:16.04:LTS

    Versions
    • 5.35-0ubuntu2
    • 5.36-0ubuntu1
    • 5.37-0ubuntu5
    • 5.37-0ubuntu5.1
    • 5.37-0ubuntu5.3
    • 5.37-0ubuntu5.3+esm1
    • 5.37-0ubuntu5.3+esm2
    • 5.37-0ubuntu5.3+esm3
    • 5.37-0ubuntu5.3+esm4
    Affected ranges
    • ECOSYSTEM: < 5.37-0ubuntu5.3+esm5

    Update to 5.37-0ubuntu5.3+esm5

  • bluez Ubuntu:18.04:LTS

    Versions
    • 5.46-0ubuntu3
    • 5.46-0ubuntu4
    • 5.48-0ubuntu3
    • 5.48-0ubuntu3.1
    • 5.48-0ubuntu3.2
    • 5.48-0ubuntu3.3
    • 5.48-0ubuntu3.4
    • 5.48-0ubuntu3.5
    • 5.48-0ubuntu3.6
    Affected ranges
    • ECOSYSTEM: < 5.48-0ubuntu3.7

    Update to 5.48-0ubuntu3.7

Original sources

Check your server →