CVE-2022-0204
High · 8.8CVSS
8.8
EPSS
1.8%
Published
Mar 10, 2022
CISA due date
—
Cloudanix analysis
A flaw in the Bluetooth software used by many devices lets nearby attackers send bad data that crashes the program, stopping wireless connections until it is fixed.
- Exploitation
- Adjacent Network
- Attacker needs
- None
- Complexity
- Low
- Impact
- Denial Of Service
- Component
- Library
- Class
- Memory Corruption
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Heap buffer overflow in the Bluetooth stack allows an attacker on the local network to supply malformed data that corrupts memory and terminates the bluez daemon.
Why it matters to the business
Bluetooth-dependent services such as wireless peripherals, audio devices, and device pairing become unavailable until the affected process is restarted, creating operational downtime and support overhead.
How an attack unfolds
An attacker with local-network adjacency crafts and transmits specially formatted Bluetooth packets or profile data to a vulnerable bluez instance; the malformed input triggers an out-of-bounds write on the heap, crashing the daemon and producing denial of service. Public exploit code is available, though no named threat actors or ransomware campaigns have been observed leveraging the flaw.
How to fix it
Upgrade bluez to a build containing commit 591c546c536b42bef696d027f64aa22434f8c3f0 or later (corresponding to version 5.63 or newer). Rebuild packages from source if using a GIT checkout, then restart the bluetoothd service and verify the updated binary.
How to confirm the fix worked
Confirm the running bluez binary reports version 5.63 or newer, or that the source tree contains commit 591c546c536b42bef696d027f64aa22434f8c3f0. Monitor process stability under simulated malformed input and review build logs for the patched code path.
Typical attack path
- Obtain local network adjacency to the target Bluetooth host
- Identify an active bluez instance via Bluetooth service discovery
- Transmit a sequence of specially crafted packets or SDP/ATT payloads
- Trigger the heap overflow and observe daemon termination
How to detect it
Review system and daemon logs for repeated bluez crashes or segmentation faults coinciding with Bluetooth activity; inspect core dumps or stack traces referencing heap operations in the Bluetooth stack; correlate network captures containing unusual SDP, ATT, or L2CAP frames with process restarts.
What your security team should do
- Prioritize patching or rebuilding bluez within the next maintenance window given the public exploit availability
- Restrict Bluetooth interfaces to trusted networks or disable unnecessary profiles until the update is applied
- Add bluez version checks to configuration-management and vulnerability-scanning pipelines
The record
A heap overflow vulnerability was found in bluez in versions prior to 5.63. An attacker with local network access could pass specially crafted files causing an application to halt or crash, leading to a denial of service.
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.64-1 |
| Debian:13 | bluez | 0 | 5.64-1 |
| Mageia:8 | bluez | 0 | 5.55-3.4.mga8 |
| SUSE:Enterprise Storage 6 | bluez | 0 | 5.48-150000.5.31.1 |
| SUSE:Enterprise Storage 7 | bluez | 0 | 5.48-150200.13.8.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS | bluez | 0 | 5.48-150000.5.31.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS | bluez | 0 | 5.48-150000.5.31.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP2-ESPOS | bluez | 0 | 5.48-150200.13.8.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS | bluez | 0 | 5.48-150200.13.8.1 |
| SUSE:Linux Enterprise High Performance Computing 15-ESPOS | bluez | 0 | 5.48-150000.5.31.1 |
| SUSE:Linux Enterprise High Performance Computing 15-LTSS | bluez | 0 | 5.48-150000.5.31.1 |
| SUSE:Linux Enterprise Module for Basesystem 15 SP3 | bluez | 0 | 5.55-150300.3.11.1 |
| SUSE:Linux Enterprise Module for Basesystem 15 SP4 | bluez | 0 | 5.62-150400.4.5.1 |
| SUSE:Linux Enterprise Module for Desktop Applications 15 SP3 | bluez | 0 | 5.55-150300.3.11.1 |
| SUSE:Linux Enterprise Module for Desktop Applications 15 SP4 | bluez | 0 | 5.62-150400.4.5.1 |
| SUSE:Linux Enterprise Server 15 SP1-BCL | bluez | 0 | 5.48-150000.5.31.1 |
| SUSE:Linux Enterprise Server 15 SP1-LTSS | bluez | 0 | 5.48-150000.5.31.1 |
| SUSE:Linux Enterprise Server 15 SP2-BCL | bluez | 0 | 5.48-150200.13.8.1 |
| SUSE:Linux Enterprise Server 15 SP2-LTSS | bluez | 0 | 5.48-150200.13.8.1 |
| SUSE:Linux Enterprise Server 15-LTSS | bluez | 0 | 5.48-150000.5.31.1 |
| SUSE:Linux Enterprise Server for SAP Applications 15 | bluez | 0 | 5.48-150000.5.31.1 |
| SUSE:Linux Enterprise Server for SAP Applications 15 SP1 | bluez | 0 | 5.48-150000.5.31.1 |
| SUSE:Linux Enterprise Server for SAP Applications 15 SP2 | bluez | 0 | 5.48-150200.13.8.1 |
| SUSE:Linux Enterprise Workstation Extension 15 SP3 | bluez | 0 | 5.55-150300.3.11.1 |
| SUSE:Linux Enterprise Workstation Extension 15 SP4 | bluez | 0 | 5.62-150400.4.5.1 |
| SUSE:Manager Proxy 4.1 | bluez | 0 | 5.48-150200.13.8.1 |
| SUSE:Manager Retail Branch Server 4.1 | bluez | 0 | 5.48-150200.13.8.1 |
| SUSE:Manager Server 4.1 | bluez | 0 | 5.48-150200.13.8.1 |
| Ubuntu:18.04:LTS | bluez | 0 | 5.48-0ubuntu3.8 |
| Ubuntu:20.04:LTS | bluez | 0 | 5.53-0ubuntu3.5 |
| Ubuntu:22.04:LTS | bluez | 0 | 5.63-0ubuntu1 |
| Ubuntu:Pro:16.04:LTS | bluez | 0 | 5.37-0ubuntu5.3+esm2 |
| openSUSE:Leap 15.3 | bluez | 0 | 5.55-150300.3.11.1 |
| openSUSE:Leap 15.4 | bluez | 0 | 5.62-150400.4.5.1 |
| openSUSE:Tumbleweed | bluez | 0 | 5.65-3.1 |
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-39177 BlueZ before 5.59 allows physically proximate attackers to cause a denial of service… 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