Bluetooth BTIF transcodeQ*ToFloat OOB Write

Summary

01/12/2023
Yes i
High
Not published

CVE-2023-40087: In transcodeQ*ToFloat of btif_avrcp_audio_track.cc, there is a possible out of bounds write due to a missing bounds check. Affects platform/packages/modules/Bluetooth across 3 version ranges.

>= 13:0, < 13:2023-12-01 >= 14:0, < 14:2023-12-01 >= 14-next:0, < 14-next:2023-12-01

Fixed in 14-next:2023-12-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 Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The Bluetooth package in the Android ecosystem is responsible for managing Bluetooth functionality on Android devices. It provides APIs and modules for Bluetooth communication, including AVRCP (Audio/Video Remote Control Profile) for controlling audio playback on remote devices. This vulnerability affects the transcodeQ*ToFloat function in the btif_avrcp_audio_track.cc file. The function is responsible for converting audio data to floating-point format. The vulnerability arises due to a missing bounds check, which can result in an out-of-bounds write. This vulnerability can be exploited by a paired device to escalate privileges without requiring any additional execution privileges. User interaction is not necessary for exploitation.

Vulnerability Detail

The transcodeQ*ToFloat function in btif_avrcp_audio_track.cc lacks proper bounds checking, leading to an out-of-bounds write vulnerability. An attacker with a paired device can exploit this vulnerability to escalate privileges on the target device. The lack of bounds checking allows the attacker to write data beyond the allocated buffer, potentially overwriting critical memory regions. This could lead to arbitrary code execution or other malicious activities, depending on the attacker's intentions. The vulnerability affects Android versions 11 and above, with fixes available for versions 11, 12, 12L, 13, and 14.

How To Fix

Minimum fixed version

14-next:2023-12-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 official fix provided by the package maintainers.

Conclusion

The Bluetooth BTIF transcodeQ*ToFloat OOB Write vulnerability in the Android Bluetooth package allows an attacker with a paired device to escalate privileges on the target device. This vulnerability can be fixed by updating the Bluetooth package to the latest version. No known workarounds are available. It is recommended to apply the official fix provided by the package maintainers. 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 allows an attacker with a paired device to escalate privileges on the target Android device. The attacker can potentially execute arbitrary code or perform other malicious activities.

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

This vulnerability affects Android versions 11 and above.

The recommended mitigation is to update the Bluetooth package to the latest version that includes the fix for this vulnerability.

More information about this vulnerability can be found in the Android Open Source Vulnerability database: [link to vulnerability details].

Related vulnerabilities

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

How To Fix

Minimum fixed version

14-next:2023-12-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