CVE-2023-20989: Out-of-Bounds Read in Bluetooth Stack
Summary
CVE-2023-20989: In btm_ble_write_adv_enable_complete of btm_ble_gap.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 managing Bluetooth functionality on Android devices. It provides APIs and protocols for communication between devices over Bluetooth. This package is vulnerable to an out-of-bounds read issue in the btm_ble_write_adv_enable_complete function of the btm_ble_gap.cc file.
Vulnerability Detail
The btm_ble_write_adv_enable_complete function in the Bluetooth package of Android does not perform a proper bounds check, leading to an out-of-bounds read vulnerability. An attacker can exploit this vulnerability to disclose sensitive information from the device's memory. This vulnerability requires system execution privileges, but does not require user interaction.
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
There is no known workaround for this vulnerability.
Conclusion
The Bluetooth package in the Android ecosystem is vulnerable to an out-of-bounds read issue in the btm_ble_write_adv_enable_complete function. This vulnerability can be exploited to disclose sensitive information from the device's memory. It is recommended to update the Bluetooth package to version 13-next, released on June 1, 2023, to mitigate this vulnerability.
See every vulnerability recorded for platform/packages/modules/Bluetooth →
FAQ
This vulnerability can lead to local information disclosure, allowing an attacker to access sensitive data from the device's memory.
No, this vulnerability does not require user interaction.
System execution privileges are required to exploit this vulnerability.
Yes, a fix is available in version 13-next of the Bluetooth package, released on June 1, 2023.
More information about this vulnerability can be found in the Android Open Source Project (AOSP) repository: https://android.googlesource.com/platform/packages/modules/Bluetooth/+/3a9bc45e212a58ce93cdf39a955324a28144ec32
References
Related vulnerabilities
Recent vulnerabilities recorded for platform/packages/modules/Bluetooth.