CVE-2023-50229

Source
https://cve.org/CVERecord?id=CVE-2023-50229
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-50229.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2023-50229
Aliases
Downstream
Related
Published
2024-05-03T03:16:11.680Z
Modified
2026-02-02T21:33:52.919508Z
Severity
  • 8.0 (High) CVSS_V3 - CVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/bluez/bluez

Affected ranges

Affected versions

5.*
5.66
5.67
5.68
5.69

Database specific

vanir_signatures
[
    {
        "signature_type": "Function",
        "target": {
            "file": "obexd/client/pbap.c",
            "function": "read_version"
        },
        "deprecated": false,
        "digest": {
            "length": 831.0,
            "function_hash": "129905515860770125204907878770854051751"
        },
        "source": "https://github.com/bluez/bluez/commit/5ab5352531a9cc7058cce569607f3a6831464443",
        "id": "CVE-2023-50229-51063d89",
        "signature_version": "v1"
    },
    {
        "signature_type": "Line",
        "target": {
            "file": "obexd/client/pbap.c"
        },
        "deprecated": false,
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "164425567483586797048056782771521406564",
                "339243539476488535186301626308607492346",
                "26029931549650522073502581951593648305",
                "56338152221748842126145501726730413299",
                "56544350967026370986741586863287295304",
                "140782047637023207733316715606570148485",
                "285438267478055345032039066623780983565",
                "87185564937850498998972364784924109268"
            ]
        },
        "source": "https://github.com/bluez/bluez/commit/5ab5352531a9cc7058cce569607f3a6831464443",
        "id": "CVE-2023-50229-d79d2322",
        "signature_version": "v1"
    }
]
source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-50229.json"