BlueZ Phone Book Access Profile Heap-based Buffer Overflow Remote Code Execution Vulnerability (BlueZ BlueZ)

CVE-2023-50229
HIGH 7.1

At a glance

Source
NVD
EPSS
EPSS 2.29 % · percentile 83 ()
State
PUBLISHED
Published
Updated
Assigner
zdi
NVD status
Modified

Description

BlueZ Phone Book Access Profile Heap-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of BlueZ. User interaction is required to exploit this vulnerability in that the target must connect to a malicious Bluetooth device. The specific flaw exists within the handling of the Phone Book Access profile. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a fixed-length heap-based buffer. An attacker can leverage this vulnerability to execute code in the context of root. Was ZDI-CAN-20936.

Weaknesses (CWE)

  • CWE-122 — Heap-based Buffer Overflow

References

Scores

VersionScoreVectorScored by
CVSS 3.0HIGH 7.1CVSS:3.0/AV:A/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:Hzdi
CVSS 3.1HIGH 8.0CVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HNVD · nvd@nist.gov (Primary)
CVSS 3.0HIGH 7.1CVSS:3.0/AV:A/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:HNVD · zdi-disclosures@trendmicro.com (Secondary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
BlueZ · BlueZaffected 5.66

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD