{"answers":{"affected":"It affects 2 products.","exploited":"There is no known exploitation of CVE-2021-41229 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2021-41229 is a medium-severity denial of service vulnerability in Debian Debian Linux, published on 12 Nov 2021. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2021-41229 and fix it if it is affected.\n\nWhat it is: CVE-2021-41229 is a medium-severity denial of service vulnerability in Debian Debian Linux, published on 12 Nov 2021. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2021-41229 in the wild and no public exploit code.\n\nAffected product: Debian Debian Linux. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2021-41229/ (Markdown: https://insights.sbomify.com/CVE-2021-41229/index.md)","id":"CVE-2021-41229","markdown":"https://insights.sbomify.com/CVE-2021-41229/index.md","name":"CVE-2021-41229","record":{"aliases":["ALSA-2022:2081","DEBIAN-CVE-2021-41229","GHSA-3fqg-r8j5-f5xq","OESA-2022-1763","RHSA-2022:2081","RLSA-2022:2081","SUSE-SU-2023:3238-1","SUSE-SU-2023:3240-1","SUSE-SU-2023:3689-1","UBUNTU-CVE-2021-41229"],"analysis":{"component_type":"operating_system","fix_type":"patch","impacts":["denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Linux Bluetooth stack","requires_auth":"none","summary":"An attacker can cause a memory leak and crash the Bluetooth service by continuously sending SDP packets to a Linux device using BlueZ.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"bluez","vendor":"bluez"},{"product":"debian_linux","vendor":"debian"}],"cvss":{"score":4.3,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","version":"3.1"},"cwes":[{"id":"CWE-401","name":"Missing Release of Memory after Effective Lifetime"},{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"description":"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.","ecosystems":["AlmaLinux:8","Red Hat:enterprise_linux:8::appstream","Red Hat:enterprise_linux:8::baseos","Red Hat:enterprise_linux:8::crb","Rocky Linux:8","SUSE:Linux Enterprise Micro 5.3","SUSE:Linux Enterprise Micro 5.4","SUSE:Linux Enterprise Module for Basesystem 15 SP4","SUSE:Linux Enterprise Module for Desktop Applications 15 SP4","SUSE:Linux Enterprise Server 12 SP5","SUSE:Linux Enterprise Server for SAP Applications 12 SP5","SUSE:Linux Enterprise Software Development Kit 12 SP5","SUSE:Linux Enterprise Workstation Extension 12 SP5","SUSE:Linux Enterprise Workstation Extension 15 SP4","SUSE:Manager Proxy 4.2","SUSE:Manager Server 4.2","openSUSE:Leap 15.4","openSUSE:Leap Micro 5.3","openSUSE:Leap Micro 5.4"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Memory leak in BlueZ","id":"CVE-2021-41229","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"debian:debian_linux","products":["debian:debian_linux"],"type":"denial_of_service","year":"2021"},"n_packages":45,"n_references":4,"next":{"headline":"OIDC claims not updated from Identity Provider in Pomerium","id":"CVE-2021-41230"},"packages":[{"ecosystem":"AlmaLinux:8","fixed":["5.56-3.el8"],"introduced":["0"],"last_affected":[],"package":"bluez","purl":"pkg:rpm/almalinux/bluez","source":"ALSA-2022:2081"},{"ecosystem":"AlmaLinux:8","fixed":["5.56-3.el8"],"introduced":["0"],"last_affected":[],"package":"bluez-cups","purl":"pkg:rpm/almalinux/bluez-cups","source":"ALSA-2022:2081"},{"ecosystem":"AlmaLinux:8","fixed":["5.56-3.el8"],"introduced":["0"],"last_affected":[],"package":"bluez-hid2hci","purl":"pkg:rpm/almalinux/bluez-hid2hci","source":"ALSA-2022:2081"},{"ecosystem":"AlmaLinux:8","fixed":["5.56-3.el8"],"introduced":["0"],"last_affected":[],"package":"bluez-libs","purl":"pkg:rpm/almalinux/bluez-libs","source":"ALSA-2022:2081"},{"ecosystem":"AlmaLinux:8","fixed":["5.56-3.el8"],"introduced":["0"],"last_affected":[],"package":"bluez-libs-devel","purl":"pkg:rpm/almalinux/bluez-libs-devel","source":"ALSA-2022:2081"},{"ecosystem":"AlmaLinux:8","fixed":["5.56-3.el8"],"introduced":["0"],"last_affected":[],"package":"bluez-obexd","purl":"pkg:rpm/almalinux/bluez-obexd","source":"ALSA-2022:2081"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:5.56-3.el8"],"introduced":["0"],"last_affected":[],"package":"bluez-cups","purl":"pkg:rpm/redhat/bluez-cups","source":"RHSA-2022:2081"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:5.56-3.el8"],"introduced":["0"],"last_affected":[],"package":"bluez-cups-debuginfo","purl":"pkg:rpm/redhat/bluez-cups-debuginfo","source":"RHSA-2022:2081"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:5.56-3.el8"],"introduced":["0"],"last_affected":[],"package":"bluez-debuginfo","purl":"pkg:rpm/redhat/bluez-debuginfo","source":"RHSA-2022:2081"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:5.56-3.el8"],"introduced":["0"],"last_affected":[],"package":"bluez-debugsource","purl":"pkg:rpm/redhat/bluez-debugsource","source":"RHSA-2022:2081"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:5.56-3.el8"],"introduced":["0"],"last_affected":[],"package":"bluez-hid2hci-debuginfo","purl":"pkg:rpm/redhat/bluez-hid2hci-debuginfo","source":"RHSA-2022:2081"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:5.56-3.el8"],"introduced":["0"],"last_affected":[],"package":"bluez-libs-debuginfo","purl":"pkg:rpm/redhat/bluez-libs-debuginfo","source":"RHSA-2022:2081"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:5.56-3.el8"],"introduced":["0"],"last_affected":[],"package":"bluez-obexd-debuginfo","purl":"pkg:rpm/redhat/bluez-obexd-debuginfo","source":"RHSA-2022:2081"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:5.56-3.el8"],"introduced":["0"],"last_affected":[],"package":"bluez","purl":"pkg:rpm/redhat/bluez","source":"RHSA-2022:2081"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:5.56-3.el8"],"introduced":["0"],"last_affected":[],"package":"bluez-cups-debuginfo","purl":"pkg:rpm/redhat/bluez-cups-debuginfo","source":"RHSA-2022:2081"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:5.56-3.el8"],"introduced":["0"],"last_affected":[],"package":"bluez-debuginfo","purl":"pkg:rpm/redhat/bluez-debuginfo","source":"RHSA-2022:2081"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:5.56-3.el8"],"introduced":["0"],"last_affected":[],"package":"bluez-debugsource","purl":"pkg:rpm/redhat/bluez-debugsource","source":"RHSA-2022:2081"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:5.56-3.el8"],"introduced":["0"],"last_affected":[],"package":"bluez-hid2hci","purl":"pkg:rpm/redhat/bluez-hid2hci","source":"RHSA-2022:2081"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:5.56-3.el8"],"introduced":["0"],"last_affected":[],"package":"bluez-hid2hci-debuginfo","purl":"pkg:rpm/redhat/bluez-hid2hci-debuginfo","source":"RHSA-2022:2081"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:5.56-3.el8"],"introduced":["0"],"last_affected":[],"package":"bluez-libs","purl":"pkg:rpm/redhat/bluez-libs","source":"RHSA-2022:2081"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:5.56-3.el8"],"introduced":["0"],"last_affected":[],"package":"bluez-libs-debuginfo","purl":"pkg:rpm/redhat/bluez-libs-debuginfo","source":"RHSA-2022:2081"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:5.56-3.el8"],"introduced":["0"],"last_affected":[],"package":"bluez-obexd","purl":"pkg:rpm/redhat/bluez-obexd","source":"RHSA-2022:2081"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:5.56-3.el8"],"introduced":["0"],"last_affected":[],"package":"bluez-obexd-debuginfo","purl":"pkg:rpm/redhat/bluez-obexd-debuginfo","source":"RHSA-2022:2081"},{"ecosystem":"Red Hat:enterprise_linux:8::crb","fixed":["0:5.56-3.el8"],"introduced":["0"],"last_affected":[],"package":"bluez-cups-debuginfo","purl":"pkg:rpm/redhat/bluez-cups-debuginfo","source":"RHSA-2022:2081"},{"ecosystem":"Red Hat:enterprise_linux:8::crb","fixed":["0:5.56-3.el8"],"introduced":["0"],"last_affected":[],"package":"bluez-debuginfo","purl":"pkg:rpm/redhat/bluez-debuginfo","source":"RHSA-2022:2081"},{"ecosystem":"Red Hat:enterprise_linux:8::crb","fixed":["0:5.56-3.el8"],"introduced":["0"],"last_affected":[],"package":"bluez-debugsource","purl":"pkg:rpm/redhat/bluez-debugsource","source":"RHSA-2022:2081"},{"ecosystem":"Red Hat:enterprise_linux:8::crb","fixed":["0:5.56-3.el8"],"introduced":["0"],"last_affected":[],"package":"bluez-hid2hci-debuginfo","purl":"pkg:rpm/redhat/bluez-hid2hci-debuginfo","source":"RHSA-2022:2081"},{"ecosystem":"Red Hat:enterprise_linux:8::crb","fixed":["0:5.56-3.el8"],"introduced":["0"],"last_affected":[],"package":"bluez-libs-debuginfo","purl":"pkg:rpm/redhat/bluez-libs-debuginfo","source":"RHSA-2022:2081"},{"ecosystem":"Red Hat:enterprise_linux:8::crb","fixed":["0:5.56-3.el8"],"introduced":["0"],"last_affected":[],"package":"bluez-libs-devel","purl":"pkg:rpm/redhat/bluez-libs-devel","source":"RHSA-2022:2081"},{"ecosystem":"Red Hat:enterprise_linux:8::crb","fixed":["0:5.56-3.el8"],"introduced":["0"],"last_affected":[],"package":"bluez-obexd-debuginfo","purl":"pkg:rpm/redhat/bluez-obexd-debuginfo","source":"RHSA-2022:2081"},{"ecosystem":"Rocky Linux:8","fixed":["0:5.56-3.el8"],"introduced":["0"],"last_affected":[],"package":"bluez","purl":"pkg:rpm/rocky-linux/bluez?distro=rocky-linux-8-6-legacy\u0026epoch=0","source":"RLSA-2022:2081"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.3","fixed":["5.62-150400.4.16.1"],"introduced":["0"],"last_affected":[],"package":"bluez","purl":"pkg:rpm/suse/bluez\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.3","source":"SUSE-SU-2023:3238-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.4","fixed":["5.62-150400.4.16.1"],"introduced":["0"],"last_affected":[],"package":"bluez","purl":"pkg:rpm/suse/bluez\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.4","source":"SUSE-SU-2023:3238-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP4","fixed":["5.62-150400.4.16.1"],"introduced":["0"],"last_affected":[],"package":"bluez","purl":"pkg:rpm/suse/bluez\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP4","source":"SUSE-SU-2023:3238-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Desktop Applications 15 SP4","fixed":["5.62-150400.4.16.1"],"introduced":["0"],"last_affected":[],"package":"bluez","purl":"pkg:rpm/suse/bluez\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Desktop%20Applications%2015%20SP4","source":"SUSE-SU-2023:3238-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP5","fixed":["5.13-5.42.2"],"introduced":["0"],"last_affected":[],"package":"bluez","purl":"pkg:rpm/suse/bluez\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP5","source":"SUSE-SU-2023:3689-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP5","fixed":["5.13-5.42.2"],"introduced":["0"],"last_affected":[],"package":"bluez","purl":"pkg:rpm/suse/bluez\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP5","source":"SUSE-SU-2023:3689-1"},{"ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP5","fixed":["5.13-5.42.2"],"introduced":["0"],"last_affected":[],"package":"bluez","purl":"pkg:rpm/suse/bluez\u0026distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP5","source":"SUSE-SU-2023:3689-1"},{"ecosystem":"SUSE:Linux Enterprise Workstation Extension 12 SP5","fixed":["5.13-5.42.2"],"introduced":["0"],"last_affected":[],"package":"bluez","purl":"pkg:rpm/suse/bluez\u0026distro=SUSE%20Linux%20Enterprise%20Workstation%20Extension%2012%20SP5","source":"SUSE-SU-2023:3689-1"},{"ecosystem":"SUSE:Linux Enterprise Workstation Extension 15 SP4","fixed":["5.62-150400.4.16.1"],"introduced":["0"],"last_affected":[],"package":"bluez","purl":"pkg:rpm/suse/bluez\u0026distro=SUSE%20Linux%20Enterprise%20Workstation%20Extension%2015%20SP4","source":"SUSE-SU-2023:3238-1"}],"prev":{"headline":"Code injection in `saved_model_cli`","id":"CVE-2021-41228"},"products":["bluez"],"published":"2021-11-12","related":[{"cvss_score":9.1,"headline":"Use after free in n/a","id":"CVE-2021-43400","kev_date_added":null,"published":"2021-11-04"},{"cvss_score":8.8,"headline":"BlueZ HID over GATT Profile Improper Access Control Remote Code Execution Vulnerability","id":"CVE-2024-8805","kev_date_added":null,"published":"2024-11-22"},{"cvss_score":8.8,"headline":"Information disclosure in n/a","id":"CVE-2022-39176","kev_date_added":null,"published":"2022-09-02"},{"cvss_score":8.8,"headline":"Denial of service in n/a","id":"CVE-2022-39177","kev_date_added":null,"published":"2022-09-02"},{"cvss_score":8.8,"headline":"Memory corruption in bluez","id":"CVE-2022-0204","kev_date_added":null,"published":"2022-03-09"},{"cvss_score":8.8,"headline":"Memory corruption in n/a","id":"CVE-2019-8922","kev_date_added":null,"published":"2021-11-29"},{"cvss_score":8.6,"headline":"Use after free in n/a","id":"CVE-2020-27153","kev_date_added":null,"published":"2020-10-15"}],"sources":[{"class":"attribution","licence":"MIT","name":"AlmaLinux","prefix":"ALSA"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"BSD","name":"Rocky Linux","prefix":"RLSA"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2025-11-04","vendors":["bluez"]},"summary":"An attacker can cause a memory leak and crash the Bluetooth service by continuously sending SDP packets to a Linux device using BlueZ.","url":"https://insights.sbomify.com/CVE-2021-41229/"}