UBUNTU-CVE-2023-27349

Source
https://ubuntu.com/security/CVE-2023-27349
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-27349.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2023-27349
Related
Published
2024-05-03T02:15:00Z
Modified
2024-05-03T02:15:00Z
Summary
[none]
Details

BlueZ Audio Profile AVRCP Improper Validation of Array Index Remote Code Execution Vulnerability. This vulnerability allows network-adjacent attackers to execute arbitrary code via Bluetooth on affected installations of BlueZ. User interaction is required to exploit this vulnerability in that the target must connect to a malicious device. The specific flaw exists within the handling of the AVRCP protocol. The issue results from the lack of proper validation of user-supplied data, which can result in a write past the end of an allocated buffer. An attacker can leverage this vulnerability to execute code in the context of root. Was ZDI-CAN-19908.

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
Fixed
5.37-0ubuntu5.3+esm4

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

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "5.37-0ubuntu5.3+esm4",
            "binary_name": "bluetooth"
        },
        {
            "binary_version": "5.37-0ubuntu5.3+esm4",
            "binary_name": "bluez"
        },
        {
            "binary_version": "5.37-0ubuntu5.3+esm4",
            "binary_name": "bluez-cups"
        },
        {
            "binary_version": "5.37-0ubuntu5.3+esm4",
            "binary_name": "bluez-cups-dbgsym"
        },
        {
            "binary_version": "5.37-0ubuntu5.3+esm4",
            "binary_name": "bluez-dbg"
        },
        {
            "binary_version": "5.37-0ubuntu5.3+esm4",
            "binary_name": "bluez-dbgsym"
        },
        {
            "binary_version": "5.37-0ubuntu5.3+esm4",
            "binary_name": "bluez-hcidump"
        },
        {
            "binary_version": "5.37-0ubuntu5.3+esm4",
            "binary_name": "bluez-hcidump-dbgsym"
        },
        {
            "binary_version": "5.37-0ubuntu5.3+esm4",
            "binary_name": "bluez-obexd"
        },
        {
            "binary_version": "5.37-0ubuntu5.3+esm4",
            "binary_name": "bluez-obexd-dbgsym"
        },
        {
            "binary_version": "5.37-0ubuntu5.3+esm4",
            "binary_name": "bluez-tests"
        },
        {
            "binary_version": "5.37-0ubuntu5.3+esm4",
            "binary_name": "bluez-tests-dbgsym"
        },
        {
            "binary_version": "5.37-0ubuntu5.3+esm4",
            "binary_name": "libbluetooth-dev"
        },
        {
            "binary_version": "5.37-0ubuntu5.3+esm4",
            "binary_name": "libbluetooth-dev-dbgsym"
        },
        {
            "binary_version": "5.37-0ubuntu5.3+esm4",
            "binary_name": "libbluetooth3"
        },
        {
            "binary_version": "5.37-0ubuntu5.3+esm4",
            "binary_name": "libbluetooth3-dbg"
        },
        {
            "binary_version": "5.37-0ubuntu5.3+esm4",
            "binary_name": "libbluetooth3-dbgsym"
        }
    ]
}

Ubuntu:Pro:18.04:LTS / bluez

Package

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

Affected ranges

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

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
5.48-0ubuntu3.6
5.48-0ubuntu3.7
5.48-0ubuntu3.8
5.48-0ubuntu3.9
5.48-0ubuntu3.9+esm1

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "5.48-0ubuntu3.9+esm2",
            "binary_name": "bluetooth"
        },
        {
            "binary_version": "5.48-0ubuntu3.9+esm2",
            "binary_name": "bluez"
        },
        {
            "binary_version": "5.48-0ubuntu3.9+esm2",
            "binary_name": "bluez-cups"
        },
        {
            "binary_version": "5.48-0ubuntu3.9+esm2",
            "binary_name": "bluez-dbg"
        },
        {
            "binary_version": "5.48-0ubuntu3.9+esm2",
            "binary_name": "bluez-hcidump"
        },
        {
            "binary_version": "5.48-0ubuntu3.9+esm2",
            "binary_name": "bluez-obexd"
        },
        {
            "binary_version": "5.48-0ubuntu3.9+esm2",
            "binary_name": "bluez-tests"
        },
        {
            "binary_version": "5.48-0ubuntu3.9+esm2",
            "binary_name": "libbluetooth-dev"
        },
        {
            "binary_version": "5.48-0ubuntu3.9+esm2",
            "binary_name": "libbluetooth3"
        },
        {
            "binary_version": "5.48-0ubuntu3.9+esm2",
            "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.8

Affected versions

5.*

5.50-0ubuntu4
5.51-0ubuntu1
5.51-0ubuntu2
5.52-0ubuntu1
5.52-0ubuntu2
5.53-0ubuntu1
5.53-0ubuntu2
5.53-0ubuntu3
5.53-0ubuntu3.1
5.53-0ubuntu3.2
5.53-0ubuntu3.3
5.53-0ubuntu3.4
5.53-0ubuntu3.5
5.53-0ubuntu3.6
5.53-0ubuntu3.7

Ecosystem specific

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

Ubuntu:22.04:LTS / bluez

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.64-0ubuntu1.3

Affected versions

5.*

5.60-0ubuntu2
5.62-0ubuntu1
5.62-0ubuntu2
5.63-0ubuntu1
5.63-0ubuntu2
5.64-0ubuntu1
5.64-0ubuntu1.1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "5.64-0ubuntu1.3",
            "binary_name": "bluetooth"
        },
        {
            "binary_version": "5.64-0ubuntu1.3",
            "binary_name": "bluez"
        },
        {
            "binary_version": "5.64-0ubuntu1.3",
            "binary_name": "bluez-cups"
        },
        {
            "binary_version": "5.64-0ubuntu1.3",
            "binary_name": "bluez-cups-dbgsym"
        },
        {
            "binary_version": "5.64-0ubuntu1.3",
            "binary_name": "bluez-dbgsym"
        },
        {
            "binary_version": "5.64-0ubuntu1.3",
            "binary_name": "bluez-hcidump"
        },
        {
            "binary_version": "5.64-0ubuntu1.3",
            "binary_name": "bluez-hcidump-dbgsym"
        },
        {
            "binary_version": "5.64-0ubuntu1.3",
            "binary_name": "bluez-meshd"
        },
        {
            "binary_version": "5.64-0ubuntu1.3",
            "binary_name": "bluez-meshd-dbgsym"
        },
        {
            "binary_version": "5.64-0ubuntu1.3",
            "binary_name": "bluez-obexd"
        },
        {
            "binary_version": "5.64-0ubuntu1.3",
            "binary_name": "bluez-obexd-dbgsym"
        },
        {
            "binary_version": "5.64-0ubuntu1.3",
            "binary_name": "bluez-tests"
        },
        {
            "binary_version": "5.64-0ubuntu1.3",
            "binary_name": "bluez-tests-dbgsym"
        },
        {
            "binary_version": "5.64-0ubuntu1.3",
            "binary_name": "libbluetooth-dev"
        },
        {
            "binary_version": "5.64-0ubuntu1.3",
            "binary_name": "libbluetooth3"
        },
        {
            "binary_version": "5.64-0ubuntu1.3",
            "binary_name": "libbluetooth3-dbgsym"
        }
    ]
}

Ubuntu:24.04:LTS / bluez

Package

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

Affected ranges

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

Affected versions

5.*

5.68-0ubuntu1
5.70-0ubuntu1
5.70-0ubuntu2
5.70-0ubuntu3
5.71-0ubuntu3
5.71-1ubuntu2
5.71-1ubuntu3
5.72-0ubuntu1
5.72-0ubuntu3
5.72-0ubuntu4

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "5.72-0ubuntu5",
            "binary_name": "bluetooth"
        },
        {
            "binary_version": "5.72-0ubuntu5",
            "binary_name": "bluez"
        },
        {
            "binary_version": "5.72-0ubuntu5",
            "binary_name": "bluez-cups"
        },
        {
            "binary_version": "5.72-0ubuntu5",
            "binary_name": "bluez-cups-dbgsym"
        },
        {
            "binary_version": "5.72-0ubuntu5",
            "binary_name": "bluez-dbgsym"
        },
        {
            "binary_version": "5.72-0ubuntu5",
            "binary_name": "bluez-hcidump"
        },
        {
            "binary_version": "5.72-0ubuntu5",
            "binary_name": "bluez-hcidump-dbgsym"
        },
        {
            "binary_version": "5.72-0ubuntu5",
            "binary_name": "bluez-meshd"
        },
        {
            "binary_version": "5.72-0ubuntu5",
            "binary_name": "bluez-meshd-dbgsym"
        },
        {
            "binary_version": "5.72-0ubuntu5",
            "binary_name": "bluez-obexd"
        },
        {
            "binary_version": "5.72-0ubuntu5",
            "binary_name": "bluez-obexd-dbgsym"
        },
        {
            "binary_version": "5.72-0ubuntu5",
            "binary_name": "bluez-source"
        },
        {
            "binary_version": "5.72-0ubuntu5",
            "binary_name": "bluez-test-scripts"
        },
        {
            "binary_version": "5.72-0ubuntu5",
            "binary_name": "bluez-test-tools"
        },
        {
            "binary_version": "5.72-0ubuntu5",
            "binary_name": "bluez-test-tools-dbgsym"
        },
        {
            "binary_version": "5.72-0ubuntu5",
            "binary_name": "libbluetooth-dev"
        },
        {
            "binary_version": "5.72-0ubuntu5",
            "binary_name": "libbluetooth3"
        },
        {
            "binary_version": "5.72-0ubuntu5",
            "binary_name": "libbluetooth3-dbgsym"
        }
    ]
}