UBUNTU-CVE-2019-8921

Source
https://ubuntu.com/security/CVE-2019-8921
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-8921.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2019-8921
Related
Published
2021-11-29T08:15:00Z
Modified
2024-10-15T14:07:19Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
[none]
Details

An issue was discovered in bluetoothd in BlueZ through 5.48. The vulnerability lies in the handling of a SVCATTRREQ by the SDP implementation. By crafting a malicious CSTATE, it is possible to trick the server into returning more bytes than the buffer actually holds, resulting in leaking arbitrary heap data. The root cause can be found in the function serviceattrreq of sdpd-request.c. The server does not check whether the CSTATE data is the same in consecutive requests, and instead simply trusts that it is the same.

References

Affected packages

Ubuntu:Pro:16.04:LTS / bluez

Package

Name
bluez
Purl
pkg:deb/ubuntu/bluez?arch=src?distro=esm-infra/xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

5.*

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

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:18.04:LTS / bluez

Package

Name
bluez
Purl
pkg:deb/ubuntu/bluez?arch=src?distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.48-0ubuntu3.6

Affected versions

5.*

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

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "5.48-0ubuntu3.6",
            "binary_name": "bluetooth"
        },
        {
            "binary_version": "5.48-0ubuntu3.6",
            "binary_name": "bluez"
        },
        {
            "binary_version": "5.48-0ubuntu3.6",
            "binary_name": "bluez-cups"
        },
        {
            "binary_version": "5.48-0ubuntu3.6",
            "binary_name": "bluez-dbg"
        },
        {
            "binary_version": "5.48-0ubuntu3.6",
            "binary_name": "bluez-hcidump"
        },
        {
            "binary_version": "5.48-0ubuntu3.6",
            "binary_name": "bluez-obexd"
        },
        {
            "binary_version": "5.48-0ubuntu3.6",
            "binary_name": "bluez-tests"
        },
        {
            "binary_version": "5.48-0ubuntu3.6",
            "binary_name": "libbluetooth-dev"
        },
        {
            "binary_version": "5.48-0ubuntu3.6",
            "binary_name": "libbluetooth3"
        },
        {
            "binary_version": "5.48-0ubuntu3.6",
            "binary_name": "libbluetooth3-dbg"
        }
    ]
}

Ubuntu:20.04:LTS / bluez

Package

Name
bluez
Purl
pkg:deb/ubuntu/bluez?arch=src?distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.53-0ubuntu3

Affected versions

5.*

5.50-0ubuntu4
5.51-0ubuntu1
5.51-0ubuntu2
5.52-0ubuntu1
5.52-0ubuntu2
5.53-0ubuntu1
5.53-0ubuntu2

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "5.53-0ubuntu3",
            "binary_name": "bluetooth"
        },
        {
            "binary_version": "5.53-0ubuntu3",
            "binary_name": "bluez"
        },
        {
            "binary_version": "5.53-0ubuntu3",
            "binary_name": "bluez-cups"
        },
        {
            "binary_version": "5.53-0ubuntu3",
            "binary_name": "bluez-dbg"
        },
        {
            "binary_version": "5.53-0ubuntu3",
            "binary_name": "bluez-hcidump"
        },
        {
            "binary_version": "5.53-0ubuntu3",
            "binary_name": "bluez-obexd"
        },
        {
            "binary_version": "5.53-0ubuntu3",
            "binary_name": "bluez-tests"
        },
        {
            "binary_version": "5.53-0ubuntu3",
            "binary_name": "libbluetooth-dev"
        },
        {
            "binary_version": "5.53-0ubuntu3",
            "binary_name": "libbluetooth3"
        },
        {
            "binary_version": "5.53-0ubuntu3",
            "binary_name": "libbluetooth3-dbg"
        }
    ]
}