CVE-2023-35673: Bluetooth GATT build_read_multi_rsp Integer Overflow

Summary

01/09/2023
Yes i
Critical
Not published

CVE-2023-35673: In build_read_multi_rsp of gatt_sr.cc, 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 ↓

Free scan

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.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The Bluetooth package in the Android ecosystem is responsible for managing Bluetooth functionality on Android devices. It provides APIs and services for Bluetooth communication, including the Generic Attribute (GATT) protocol. GATT allows devices to exchange data and interact with Bluetooth Low Energy (BLE) devices. This vulnerability affects the build_read_multi_rsp function in the GATT server implementation of the Bluetooth package.

Vulnerability Detail

The build_read_multi_rsp function in gatt_sr.cc within the Bluetooth package is susceptible to an integer overflow vulnerability. This vulnerability can result in an out-of-bounds write, potentially leading to remote code execution. An attacker in proximity to the affected device can exploit this vulnerability without requiring any additional execution privileges or user interaction. The integer overflow occurs when processing a read request with a large attribute count, causing the write operation to exceed the bounds of the target buffer.

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

No workaround has been provided for this vulnerability. It is recommended to apply the fix mentioned above.

Conclusion

The Bluetooth GATT build_read_multi_rsp integer overflow vulnerability poses a critical risk to Android devices. It allows for remote code execution without user interaction or additional privileges. It is crucial to apply the provided fix from the Android Open Source Project repository to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for platform/packages/modules/Bluetooth →

Share this vulnerability

FAQ

This vulnerability can lead to remote code execution on the affected Android device. An attacker in proximity to the device can exploit the vulnerability without requiring any additional execution privileges or user interaction.

The vulnerability was introduced in version 11.0 of the Bluetooth package and affects all subsequent versions up to version 13.0.

No, user interaction is not needed for exploitation of this vulnerability.

There are no known instances of this vulnerability being exploited in the wild at the time of this report.

You can use the Vulert Playground at Vulert Scanner to check if your application is affected by this vulnerability. Vulert monitors and alerts in real-time for open-source vulnerabilities in software without requiring access to the code or installation.

Related vulnerabilities

Recent vulnerabilities recorded for platform/packages/modules/Bluetooth.

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 →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback