CVE-2024-0031: Out of Bounds Write in libbt-stack

Summary

01/02/2024
Yes i
Critical
Not published

CVE-2024-0031: In attp_build_read_by_type_value_cmd of att_protocol.cc , there is a possible out of bounds write due to improper input validation. Affects platform/packages/modules/Bluetooth across 3 version ranges.

>= 13:0, < 13:2024-02-01 >= 14:0, < 14:2024-02-01 >= 14-next:0, < 14-next:2024-02-01

Fixed in 14-next:2024-02-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 package under scrutiny is the Bluetooth module in the Android platform. This module provides functionality for Bluetooth communication on Android devices. It allows users to connect and interact with Bluetooth devices such as headphones, speakers, and smartwatches. The vulnerability in question affects the libbt-stack library, specifically the attp_build_read_by_type_value_cmd function in att_protocol.cc.

Vulnerability Detail

The vulnerability is an out of bounds write issue caused by improper input validation in the attp_build_read_by_type_value_cmd function. This vulnerability can be exploited remotely, leading to potential remote code execution without requiring additional execution privileges. It is important to note that user interaction is not necessary for exploitation. The vulnerability was first published on February 1, 2024, and its severity is classified as critical.

How To Fix

Minimum fixed version

14-next:2024-02-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 specific workaround has been mentioned for this vulnerability.

Conclusion

In conclusion, the CVE-2024-0031 vulnerability in the libbt-stack library of the Bluetooth module in the Android platform allows for potential remote code execution. It is crucial to apply the provided fix from the Android Open Source Project 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

The impact of this vulnerability is the potential for remote code execution on Android devices with the affected Bluetooth module. An attacker could exploit this vulnerability without requiring any user interaction.

No known exploit has been reported for this vulnerability at the time of this report.

The vulnerability affects Android versions 11, 12, 12L, 13, and 14.

The recommended mitigation is to apply the provided fix from the Android Open Source Project.

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

Related vulnerabilities

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

How To Fix

Minimum fixed version

14-next:2024-02-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