{
    "CVE_data_meta": {
        "ASSIGNER": "security-advisories@github.com",
        "ID": "CVE-2021-41229",
        "STATE": "PUBLIC",
        "TITLE": "Memory leak in BlueZ"
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "product": {
                        "product_data": [
                            {
                                "product_name": "bluez",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_value": "= 5.58"
                                        }
                                    ]
                                }
                            }
                        ]
                    },
                    "vendor_name": "bluez"
                }
            ]
        }
    },
    "data_format": "MITRE",
    "data_type": "CVE",
    "data_version": "4.0",
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "BlueZ is a Bluetooth protocol stack for Linux. In affected versions a vulnerability exists in sdp_cstate_alloc_buf which allocates memory which will always be hung in the singly linked list of cstates and will not be freed. This will cause a memory leak over time. The data can be a very large object, which can be caused by an attacker continuously sending sdp packets and this may cause the service of the target device to crash."
            }
        ]
    },
    "impact": {
        "cvss": {
            "attackComplexity": "LOW",
            "attackVector": "ADJACENT",
            "availabilityImpact": "LOW",
            "baseScore": 4.3,
            "baseSeverity": "MEDIUM",
            "confidentialityImpact": "NONE",
            "integrityImpact": "NONE",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L",
            "version": "3.1"
        }
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-400: Uncontrolled Resource Consumption"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "name": "https://github.com/bluez/bluez/security/advisories/GHSA-3fqg-r8j5-f5xq",
                "refsource": "CONFIRM",
                "url": "https://github.com/bluez/bluez/security/advisories/GHSA-3fqg-r8j5-f5xq"
            },
            {
                "refsource": "MLIST",
                "name": "[debian-lts-announce] 20211127 [SECURITY] [DLA 2827-1] bluez security update",
                "url": "https://lists.debian.org/debian-lts-announce/2021/11/msg00022.html"
            },
            {
                "refsource": "CONFIRM",
                "name": "https://security.netapp.com/advisory/ntap-20211203-0004/",
                "url": "https://security.netapp.com/advisory/ntap-20211203-0004/"
            },
            {
                "refsource": "MLIST",
                "name": "[debian-lts-announce] 20221024 [SECURITY] [DLA 3157-1] bluez security update",
                "url": "https://lists.debian.org/debian-lts-announce/2022/10/msg00026.html"
            }
        ]
    },
    "source": {
        "advisory": "GHSA-3fqg-r8j5-f5xq",
        "discovery": "UNKNOWN"
    }
}