CVE-2016-7837
High · 7.8CVSS
7.8
EPSS
0.6%
Published
Jun 9, 2017
CISA due date
—
Cloudanix analysis
A flaw in Bluetooth software on some systems could let someone already on the computer run harmful code and take over the machine.
- Exploitation
- Local Privilege
- Attacker needs
- Low Privilege
- Complexity
- Low
- Impact
- Full Compromise
- Component
- Library
- Class
- Memory Corruption
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Buffer overflow in the parse_line function of BlueZ userland utilities allows arbitrary code execution with local privileges.
Why it matters to the business
Attackers with local access could gain full control of affected systems, leading to data theft or persistent compromise; though the issue is old with low exploitation probability, organizations using the impacted litefs packages should treat upgrades as a priority to avoid operational disruption.
How an attack unfolds
An attacker with local access supplies crafted input to BlueZ utilities invoking parse_line, triggering the overflow to inject and execute arbitrary code.
How to fix it
Upgrade litefs (Chainguard) and litefs (Wolfi) to version 0.5.11-r6 or later, which incorporates fixes for BlueZ 5.41 and earlier.
How to confirm the fix worked
Verify installed package versions against 0.5.11-r6, confirm BlueZ utilities are newer than 5.41, and test that parse_line handling no longer accepts oversized input.
Typical attack path
- Gain local access to a target system running affected BlueZ components
- Locate userland utilities that call the vulnerable parse_line function
- Craft and supply malicious input to trigger the buffer overflow
- Execute arbitrary code to escalate privileges or establish persistence
How to detect it
Search system logs and process audit trails for crashes or unexpected behavior in BlueZ utilities; monitor for local privilege-escalation attempts involving userland Bluetooth tools.
What your security team should do
- Apply the specified package upgrades across all environments without delay
- Review local access controls and limit untrusted user execution of BlueZ utilities
- Incorporate BlueZ version checks into regular vulnerability scanning
The record
Buffer overflow in BlueZ 5.41 and earlier allows an attacker to execute arbitrary code via the parse_line function used in some userland utilities.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:11 | bluez | 0 | 5.43-1 |
| Debian:12 | bluez | 0 | 5.43-1 |
| Debian:13 | bluez | 0 | 5.43-1 |
| Mageia:5 | bluez | 0 | 5.28-1.2.mga5 |
| SUSE:Linux Enterprise Desktop 12 SP3 | bluez | 0 | 5.13-5.4.1 |
| SUSE:Linux Enterprise Server 12 SP1-LTSS | bluez | 0 | 5.13-3.10.1 |
| SUSE:Linux Enterprise Server 12 SP3 | bluez | 0 | 5.13-5.4.1 |
| SUSE:Linux Enterprise Server 12-LTSS | bluez | 0 | 5.13-3.10.1 |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP1 | bluez | 0 | 5.13-3.10.1 |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP3 | bluez | 0 | 5.13-5.4.1 |
| SUSE:Linux Enterprise Software Development Kit 12 SP3 | bluez | 0 | 5.13-5.4.1 |
| SUSE:Linux Enterprise Workstation Extension 12 SP3 | bluez | 0 | 5.13-5.4.1 |
| Ubuntu:14.04:LTS | bluez | 0 | 4.101-0ubuntu13.3 |
| Ubuntu:16.04:LTS | bluez | 0 | 5.37-0ubuntu5.3 |
| Ubuntu:18.04:LTS | bluez | 0 | 5.48-0ubuntu3.4 |
Related vulnerabilities
- 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
- CVE-2023-51592 BlueZ Audio Profile AVRCP parse_media_folder Out-Of-Bounds Read Information Disclosure… Also affects bluez
- CVE-2023-51580 BlueZ Audio Profile AVRCP avrcp_parse_attribute_list Out-Of-Bounds Read Information… Also affects bluez
- CVE-2023-44431 BlueZ Audio Profile AVRCP Stack-based Buffer Overflow Remote Code Execution Vulnerability. Also affects bluez
- 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