CVE-2022-39177
High · 8.8CVSS
8.8
EPSS
0.7%
Published
Sep 2, 2022
CISA due date
—
Cloudanix analysis
A flaw in Linux Bluetooth software lets someone standing nearby crash wireless audio connections on affected devices until the system is updated.
- Exploitation
- Adjacent Network
- Attacker needs
- Physical Access
- Complexity
- Low
- Impact
- Denial Of Service
- Component
- Library
- Class
- Improper Input Validation
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Malformed or invalid capabilities in the AVDTP profile handler in profiles/audio/avdtp.c allow an unauthenticated adjacent attacker to trigger crashes or resource exhaustion, resulting in denial of service for Bluetooth audio functionality.
Why it matters to the business
Nearby attackers can disrupt Bluetooth audio devices on Linux systems, causing intermittent loss of wireless audio, headset, or speaker functionality until the affected process is restarted; the issue is limited to physically proximate threats and has not been observed in ransomware or widespread campaigns.
How an attack unfolds
An attacker within Bluetooth range crafts and sends malformed capability packets over the AVDTP protocol; the BlueZ daemon processes these invalid values without sufficient validation, leading to a crash or hang in the audio profile handler.
How to fix it
Upgrade BlueZ to version 5.59 or later; apply the fix from commit 1285bca9bde014a292e67632f83ef6e3386eb262 in the GIT repository; rebuild and deploy the updated package across all affected Linux systems.
How to confirm the fix worked
Verify the installed BlueZ version is 5.59 or newer; confirm the commit 1285bca9bde014a292e67632f83ef6e3386eb262 is present in the source tree; test Bluetooth audio pairing and streaming after the update to ensure no regression.
Typical attack path
- Establish physical proximity to the target Bluetooth device
- Send crafted AVDTP capability packets containing invalid or oversized values
- Trigger unhandled processing path in profiles/audio/avdtp.c resulting in DoS
- Observe service crash or audio stack unavailability
How to detect it
Review BlueZ daemon logs and system crash reports for entries referencing profiles/audio/avdtp.c or capability parsing failures; correlate with Bluetooth connection attempts from unknown nearby devices.
- profiles/audio/avdtp.c
- avdtp.*capability
- bluetoothd.*crash.*avdtp
What your security team should do
- Prioritize patching systems that expose Bluetooth audio profiles to untrusted adjacent networks
- Monitor vendor advisories for downstream distributions shipping BlueZ
- Consider disabling unnecessary Bluetooth audio services until patches are applied
The record
BlueZ before 5.59 allows physically proximate attackers to cause a denial of service because malformed and invalid capabilities can be processed in profiles/audio/avdtp.c.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:10 | bluez | 0 | 5.50-1.2~deb10u3 |
| Debian:11 | bluez | 0 | 5.55-3.1+deb11u2 |
| Debian:12 | bluez | 0 | 5.61-1 |
| Debian:13 | bluez | 0 | 5.61-1 |
| SUSE:Enterprise Storage 6 | bluez | 0 | 5.48-150000.5.46.1 |
| SUSE:Enterprise Storage 7 | bluez | 0 | 5.48-150200.13.22.1 |
| SUSE:Enterprise Storage 7.1 | bluez | 0 | 5.55-150300.3.19.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS | bluez | 0 | 5.48-150000.5.46.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS | bluez | 0 | 5.48-150200.13.22.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP3-ESPOS | bluez | 0 | 5.55-150300.3.19.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | bluez | 0 | 5.55-150300.3.19.1 |
| SUSE:Linux Enterprise Real Time 15 SP3 | bluez | 0 | 5.55-150300.3.19.1 |
| SUSE:Linux Enterprise Server 12 SP2-BCL | bluez | 0 | 5.13-5.36.1 |
| SUSE:Linux Enterprise Server 12 SP4-LTSS | bluez | 0 | 5.13-5.36.1 |
| SUSE:Linux Enterprise Server 12 SP5 | bluez | 0 | 5.13-5.36.1 |
| SUSE:Linux Enterprise Server 15 SP1-LTSS | bluez | 0 | 5.48-150000.5.46.1 |
| SUSE:Linux Enterprise Server 15 SP2-LTSS | bluez | 0 | 5.48-150200.13.22.1 |
| SUSE:Linux Enterprise Server 15 SP3-LTSS | bluez | 0 | 5.55-150300.3.19.1 |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP4 | bluez | 0 | 5.13-5.36.1 |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP5 | bluez | 0 | 5.13-5.36.1 |
| SUSE:Linux Enterprise Server for SAP Applications 15 SP1 | bluez | 0 | 5.48-150000.5.46.1 |
| SUSE:Linux Enterprise Server for SAP Applications 15 SP2 | bluez | 0 | 5.48-150200.13.22.1 |
| SUSE:Linux Enterprise Server for SAP Applications 15 SP3 | bluez | 0 | 5.55-150300.3.19.1 |
| SUSE:Linux Enterprise Software Development Kit 12 SP5 | bluez | 0 | 5.13-5.36.1 |
| SUSE:Linux Enterprise Workstation Extension 12 SP5 | bluez | 0 | 5.13-5.36.1 |
| SUSE:Manager Proxy 4.2 | bluez | 0 | 5.55-150300.3.19.1 |
| SUSE:Manager Retail Branch Server 4.2 | bluez | 0 | 5.55-150300.3.19.1 |
| SUSE:Manager Server 4.2 | bluez | 0 | 5.55-150300.3.19.1 |
| SUSE:OpenStack Cloud 9 | bluez | 0 | 5.13-5.36.1 |
| SUSE:OpenStack Cloud Crowbar 9 | bluez | 0 | 5.13-5.36.1 |
| Ubuntu:18.04:LTS | bluez | 0 | 5.48-0ubuntu3.9 |
| Ubuntu:20.04:LTS | bluez | 0 | 5.53-0ubuntu3.6 |
| Ubuntu:22.04:LTS | bluez | 0 | 5.64-0ubuntu1 |
| Ubuntu:Pro:16.04:LTS | bluez | 0 | No fix |
Related vulnerabilities
- CVE-2023-27349 BlueZ Audio Profile AVRCP Improper Validation of Array Index Remote Code Execution… Also affects bluez
- CVE-2023-45866 Bluetooth HID Hosts in BlueZ may permit an unauthenticated Peripheral role HID Device to… Also affects bluez
- CVE-2022-39176 BlueZ before 5.59 allows physically proximate attackers to obtain sensitive information… Also affects bluez
- CVE-2022-0204 A heap overflow vulnerability was found in bluez in versions prior to 5.63. Also affects bluez
- CVE-2019-8922 A heap-based buffer overflow was discovered in bluetoothd in BlueZ through 5.48. Also affects bluez
- CVE-2023-51594 BlueZ OBEX Library Out-Of-Bounds Read Information Disclosure Vulnerability. Also affects bluez
- CVE-2023-51596 BlueZ Phone Book Access Profile Heap-based Buffer Overflow Remote Code Execution… Also affects bluez
- CVE-2023-51589 BlueZ Audio Profile AVRCP parse_media_element Out-Of-Bounds Read Information Disclosure… Also affects bluez