Advisory

UBUNTU-CVE-2019-8922

Also known as: CVE-2019-8922

Summary

The record has no summary.

Details

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.

Severity

High Basis: CVSS v3 score 8.8, vector CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Dates

Published
2021-11-29 08:15 UTC
Modified
2026-04-27 09:10 UTC

Affected packages and fixes

bluez

Debian packages (deb) · Ubuntu 18.04

Affected

  • introduced 0, fixed 5.48-0ubuntu3.7 (ecosystem)

Fixed versions

5.48-0ubuntu3.7

Fix

  • Fixed version 5.48-0ubuntu3.7
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences