CVE-2021-3588
NixOS vulnerability analysis and mitigation

Overview

The vulnerability CVE-2021-3588 was discovered in BlueZ, the canonical bluetooth tools and system daemons package for Linux. The issue was identified on January 4, 2021, and officially assigned a CVE ID on June 8, 2021. The vulnerability exists in the clifeatread_cb() function within the src/gatt-database.c file, where there is a failure to perform bounds checks on the 'offset' variable before using it as an array index (CVE Mitre, Debian Tracker).

Technical details

The vulnerability stems from a buffer out-of-bounds read issue in the clifeatreadcb() function. The function uses an unchecked offset variable for array indexing, where both len and sizeof() are unsigned and offset is an external input without validation. This could allow a malicious GATT client to cause out-of-bound read operations on memory locations after the given devicestate::cli_feat pointer (GitHub Issue).

Impact

The vulnerability could potentially lead to unauthorized access to memory locations, allowing attackers to read sensitive information from the affected system. While this is considered a low severity issue with a CVSS 3.3 score, it still represents a security concern for systems running the affected versions of BlueZ (Ubuntu Security).

Mitigation and workarounds

The vulnerability was fixed in BlueZ version 5.56 and later releases. Users are advised to upgrade to version 5.63 or newer to address this issue. The fix implements proper validation checks for the offset variable before performing array operations (Gentoo Security).

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-14330CRITICAL9.8
  • NixOSNixOS
  • cpe:2.3:a:mozilla:firefox:*:*:*:*:esr:*:*:*
NoYesDec 09, 2025
CVE-2025-14329HIGH8.8
  • NixOSNixOS
  • cpe:2.3:a:mozilla:firefox_esr
NoYesDec 09, 2025
CVE-2025-14333HIGH8.1
  • NixOSNixOS
  • firefox-esr
NoYesDec 09, 2025
CVE-2025-14332HIGH7.3
  • NixOSNixOS
  • thunderbird
NoYesDec 09, 2025
CVE-2025-14331MEDIUM6.5
  • NixOSNixOS
  • firefox
NoYesDec 09, 2025

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