CVE-2023-50230
NixOS vulnerability analysis and mitigation

Overview

CVE-2023-50230 is a heap-based buffer overflow vulnerability in BlueZ's Phone Book Access profile. The vulnerability was discovered by Lucas Leong and disclosed on December 20, 2023. This security flaw affects BlueZ installations and requires user interaction in the form of connecting to a malicious Bluetooth device (ZDI Advisory).

Technical details

The vulnerability exists within the handling of the Phone Book Access profile where there is a lack of proper validation of the length of user-supplied data before copying it to a fixed-length heap-based buffer. Primary/Secondary Counters are supposed to be 16 bytes values, and incorrect implementation by the server can lead to a heap-buffer-overflow. The vulnerability has been assigned a CVSS score of 7.1 (AV:A/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H) (ZDI Advisory, GitHub Commit).

Impact

An attacker can leverage this vulnerability to execute arbitrary code in the context of root on affected installations of BlueZ. The vulnerability requires network-adjacent access and user interaction for successful exploitation (ZDI Advisory).

Exploitability

The vulnerability requires network-adjacent access and user interaction in the form of connecting to a malicious Bluetooth device. The attack complexity is considered high according to the CVSS scoring (ZDI Advisory).

Mitigation and workarounds

BlueZ has released a patch to address this vulnerability. The fix involves adding proper length checking for Primary/Secondary Counters. Users are advised to update their BlueZ installations to the latest version. For Ubuntu users, a standard system update will make all the necessary changes (Ubuntu Notice, GitHub Commit).

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-2026-85706CRITICAL10
  • GitLab logoGitLab
  • gitlab
YesYesSep 12, 2026
CVE-2026-88009HIGH8.8
  • NixOS logoNixOS
  • github.com/traefik/traefik/v2
NoYesSep 10, 2026
CVE-2026-88008HIGH7
  • NixOS logoNixOS
  • github.com/traefik/traefik/v2
NoYesSep 10, 2026
CVE-2026-88012MEDIUM5.3
  • NixOS logoNixOS
  • traefik-fips-3
NoYesSep 10, 2026
CVE-2026-88011MEDIUM5.3
  • NixOS logoNixOS
  • github.com/traefik/traefik/v2
NoYesSep 10, 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