CVE-2023-21194: Out of Bounds Read in Bluetooth Server
Summary
CVE-2023-21194: In gatt_dbg_op_name of gatt_utils.cc, there is a possible out of bounds read due to a missing bounds check. Affects platform/packages/modules/Bluetooth across 2 version ranges.
>= 13:0, < 13:2023-06-01
>= 13-next:0, < 13-next:2023-06-01
Fixed in 13-next:2023-06-01. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The Bluetooth package in the Android ecosystem is responsible for handling Bluetooth functionality on Android devices. It provides APIs and services for Bluetooth communication, including device discovery, pairing, and data transfer. The package is an integral part of the Android operating system and is used by various applications and system components. However, a vulnerability has been discovered in the Bluetooth server component, which could potentially lead to local information disclosure.
Vulnerability Detail
The vulnerability (CVE-2023-21194) exists in the gatt_dbg_op_name function of the gatt_utils.cc file in the Bluetooth server. Due to a missing bounds check, an out of bounds read can occur, resulting in potential local information disclosure. This vulnerability requires system execution privileges to exploit and does not require user interaction. An attacker with these privileges could exploit the vulnerability to access sensitive information stored on the device.
How To Fix
Minimum fixed version
13-next:2023-06-01
This is the first release that contains the fix.
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
No workaround has been provided for this vulnerability.
Conclusion
The Bluetooth server component in the Android Bluetooth package is vulnerable to an out of bounds read, which could result in local information disclosure. It is recommended to update the Bluetooth package to the fixed version to mitigate the vulnerability.
See every vulnerability recorded for platform/packages/modules/Bluetooth →
FAQ
The vulnerability could lead to local information disclosure, allowing an attacker with system execution privileges to access sensitive data on the device.
No, user interaction is not needed for exploitation of this vulnerability.
System execution privileges are needed to exploit this vulnerability.
Yes, a fix has been released in version 13-next of the Android Bluetooth package.
More information about the fix can be found in the official Android source repository: [https://android.googlesource.com/platform/packages/modules/Bluetooth/+8f013f79801ae1bfb6daa37dbe306fe36a33e678].
References
Related vulnerabilities
Recent vulnerabilities recorded for platform/packages/modules/Bluetooth.