CVE-2023-20977: Potential OOB Read in btm_ble_gap.cc
Summary
CVE-2023-20977: In btm_ble_read_remote_features_complete of btm_ble_gap.cc, there is a possible out of bounds read due to improper input validation. 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 Bluetooth communication between devices. This vulnerability affects the Bluetooth package in Android versions 13-next. The package is susceptible to an out-of-bounds read vulnerability in the btm_ble_gap.cc file, specifically in the btm_ble_read_remote_features_complete function. This vulnerability could potentially allow local information disclosure if the firmware is compromised with system execution privileges. Exploitation does not require user interaction.
Vulnerability Detail
The vulnerability arises due to improper input validation in the btm_ble_read_remote_features_complete function of the btm_ble_gap.cc file. This can lead to an out-of-bounds read, which may result in the disclosure of local information. The impact of this vulnerability is contingent upon the compromise of the firmware with system execution privileges. If successfully exploited, an attacker could gain access to sensitive information without requiring 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. It is recommended to apply the fix as soon as possible.
Conclusion
The Bluetooth package in Android versions 13-next is vulnerable to an out-of-bounds read in the btm_ble_gap.cc file. This vulnerability can lead to local information disclosure if the firmware is compromised with system execution privileges. It is crucial to update the Bluetooth package to the fixed version to mitigate the risk of exploitation.
See every vulnerability recorded for platform/packages/modules/Bluetooth →
FAQ
The impact of this vulnerability is local information disclosure if the firmware is compromised with system execution privileges.
No, user interaction is not needed for exploitation of this vulnerability.
This vulnerability affects Android versions 13-next.
No, there is no known workaround for this vulnerability.
To fix this vulnerability, update the Bluetooth package to the fixed version released on June 1, 2023.
References
Related vulnerabilities
Recent vulnerabilities recorded for platform/packages/modules/Bluetooth.