CVE-2024-0039: Out of Bounds Write in attp_build_value_cmd in libbt-stack

Summary

01/03/2024
Yes i
Critical
Not published

CVE-2024-0039: In attp_build_value_cmd of att_protocol.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:2024-03-01 >= 14:0, < 14:2024-03-01 >= 14-next:0, < 14-next:2024-03-01

Fixed in 14-next:2024-03-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 Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The package under scrutiny is the Bluetooth module in the Android platform. This module is responsible for handling Bluetooth functionality on Android devices. It allows users to connect and communicate with other Bluetooth-enabled devices. The vulnerability affects versions 12, 12L, 13, and 14 of the Android platform. It is a critical vulnerability that could potentially lead to remote code execution without requiring any additional execution privileges. Exploitation of this vulnerability does not require user interaction.

Vulnerability Detail

The vulnerability exists in the attp_build_value_cmd function of the att_protocol.cc file. It is caused by a missing bounds check, which can result in an out of bounds write. An attacker could exploit this vulnerability to execute arbitrary code on the affected device. The impact of this vulnerability is severe, as it could allow an attacker to gain control over the device without the user's knowledge or consent.

How To Fix

Minimum fixed version

14-next:2024-03-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-0039 vulnerability in the Bluetooth module of the Android platform poses a critical risk of remote code execution. It is crucial to update the affected Android platform versions to the fixed versions released on or after March 1, 2024. 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 critical, as it could lead to remote code execution on the affected device without requiring any additional execution privileges.

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

Versions 12, 12L, 13, and 14 of the Android platform are affected by this vulnerability.

To fix this vulnerability, it is recommended to update the affected Android platform versions to the fixed versions released on or after March 1, 2024.

For more information about this vulnerability, you can refer to the source provided by the Android Open Source Project: https://storage.googleapis.com/android-osv/ASB-A-295887535.json

Related vulnerabilities

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

How To Fix

Minimum fixed version

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