Ubuntu 18.04 LTS : BlueZ vulnerability (USN-5183-1)

high Nessus Plugin ID 155952

Synopsis

The remote Ubuntu host is missing a security update.

Description

The remote Ubuntu 18.04 LTS host has packages installed that are affected by a vulnerability as referenced in the USN-5183-1 advisory.

- 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. (CVE-2019-8922)

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Update the affected packages.

See Also

https://ubuntu.com/security/notices/USN-5183-1

Plugin Details

Severity: High

ID: 155952

File Name: ubuntu_USN-5183-1.nasl

Version: 1.4

Type: local

Agent: unix

Published: 12/8/2021

Updated: 10/16/2023

Supported Sensors: Agentless Assessment, Frictionless Assessment Agent, Frictionless Assessment AWS, Frictionless Assessment Azure, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: Medium

Base Score: 5.8

Temporal Score: 4.5

Vector: CVSS2#AV:A/AC:L/Au:N/C:P/I:P/A:P

CVSS Score Source: CVE-2019-8922

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 7.9

Vector: CVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

CPE: cpe:/o:canonical:ubuntu_linux:18.04:-:lts, p-cpe:/a:canonical:ubuntu_linux:bluetooth, p-cpe:/a:canonical:ubuntu_linux:bluez, p-cpe:/a:canonical:ubuntu_linux:bluez-cups, p-cpe:/a:canonical:ubuntu_linux:bluez-hcidump, p-cpe:/a:canonical:ubuntu_linux:bluez-obexd, p-cpe:/a:canonical:ubuntu_linux:bluez-tests, p-cpe:/a:canonical:ubuntu_linux:libbluetooth-dev, p-cpe:/a:canonical:ubuntu_linux:libbluetooth3

Required KB Items: Host/cpu, Host/Ubuntu, Host/Ubuntu/release, Host/Debian/dpkg-l

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 12/8/2021

Vulnerability Publication Date: 11/29/2021

Reference Information

CVE: CVE-2019-8922

USN: 5183-1