CVE-2024-0030
NixOS vulnerability analysis and mitigation

Overview

In btif_to_bta_response of btif_gatt_util.cc, there is a possible out of bounds read vulnerability due to an incorrect bounds check. This vulnerability affects Android versions 11.0 through 14.0. The issue was discovered in April 2023 and publicly disclosed in February 2024 (NVD, CVE).

Technical details

The vulnerability stems from a size mismatch in the btif_to_bta_response function. The size of p_src->attr_value.value is dependent on p_src->attr_value.len, but the function always copies GATT_MAX_ATTR_LEN bytes to p_dest->attr_value.value, potentially resulting in an out-of-bounds read. The vulnerability has been assigned a CVSS v3.1 base score of 5.5 (Medium) with the vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N (NVD).

Impact

This vulnerability could lead to local information disclosure with no additional execution privileges needed. User interaction is not required for exploitation (NVD).

Mitigation and workarounds

A fix has been implemented in the Android source code repository through a commit that addresses the out-of-bounds bug in btif_to_bta_response and attp_build_value_cmd functions. The fix ensures proper size checking when copying attribute values (Android Source).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-20807MEDIUM6.7
  • NixOSNixOS
  • android
NoNoJan 06, 2026
CVE-2025-20806MEDIUM6.7
  • NixOSNixOS
  • android
NoNoJan 06, 2026
CVE-2025-20805MEDIUM6.7
  • NixOSNixOS
  • android
NoNoJan 06, 2026
CVE-2025-20804MEDIUM6.7
  • NixOSNixOS
  • android
NoNoJan 06, 2026
CVE-2025-20803MEDIUM6.7
  • NixOSNixOS
  • android
NoNoJan 06, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management