CVE-2023-35681: Bluetooth GATT gatts_process_* functions OOB write
Summary
CVE-2023-35681: In eatt_l2cap_reconfig_completed of eatt_impl.h, there is a possible out of bounds write due to an integer overflow. Affects platform/packages/modules/Bluetooth across 2 version ranges.
>= 13:0, < 13:2023-09-01
>= 13-next:0, < 13-next:2023-09-01
Fixed in 13-next:2023-09-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 providing Bluetooth functionality to Android devices. It includes modules and libraries that handle various aspects of Bluetooth communication, such as pairing, connecting, and data transfer. The vulnerability described in this report affects the GATT (Generic Attribute Profile) functionality of the Bluetooth package.
Vulnerability Detail
The vulnerability arises in the gatts_process_* functions of the GATT implementation. Due to an integer overflow, an out-of-bounds write can occur in the eatt_l2cap_reconfig_completed function of eatt_impl.h. This vulnerability can be exploited remotely and may lead to remote code execution without requiring any additional execution privileges. The exploitation does not require user interaction.
How To Fix
Minimum fixed version
13-next:2023-09-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 GATT gatts_process_* functions OOB write vulnerability in the Android Bluetooth package can lead to remote code execution without requiring additional privileges or user interaction. It is crucial to update the Bluetooth package to version 13.2023-09-01 or later to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for platform/packages/modules/Bluetooth →
FAQ
This vulnerability can lead to remote code execution on Android devices with the affected Bluetooth package. An attacker can exploit this vulnerability without requiring any additional execution privileges or user interaction.
No, user interaction is not needed for exploitation of this vulnerability.
This vulnerability is classified as Critical due to its potential for remote code execution.
The recommended fix is to update the Bluetooth package to version 13.2023-09-01 or later.
More information about this vulnerability can be found in the Android Open Source Vulnerabilities database: https://storage.googleapis.com/android-osv/ASB-A-271335899.json
Related vulnerabilities
Recent vulnerabilities recorded for platform/packages/modules/Bluetooth.