{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2021-3588 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2021-3588 is a low-severity vulnerability in BlueZ, published on 10 Jun 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-3588 and fix it if it is affected.\n\nWhat it is: CVE-2021-3588 is a low-severity vulnerability in BlueZ, published on 10 Jun 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-3588 in the wild and no public exploit code.\n\nAffected product: BlueZ. 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-3588/ (Markdown: https://insights.sbomify.com/CVE-2021-3588/index.md)","id":"CVE-2021-3588","markdown":"https://insights.sbomify.com/CVE-2021-3588/index.md","name":"CVE-2021-3588","record":{"aliases":["AZL-7183","DEBIAN-CVE-2021-3588","GHSA-3h8m-q4x3-3fhw","OESA-2021-1254","SUSE-SU-2021:2459-1","UBUNTU-CVE-2021-3588","openSUSE-SU-2021:2459-1"],"analysis":{"component_type":"operating_system","fix_type":"patch","impacts":["data_read"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"BlueZ Bluetooth stack","requires_auth":"low_privilege","summary":"An attacker can read sensitive memory contents due to missing bounds checks in the BlueZ Bluetooth stack's GATT database handler.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"canonical","cpe":[{"product":"bluez","vendor":"bluez"}],"cvss":{"score":3.3,"severity":"low","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-788","name":"Access of Memory Location After End of Buffer"},{"id":"CWE-125","name":"Out-of-bounds Read"}],"description":"The cli_feat_read_cb() function in src/gatt-database.c does not perform bounds checks on the 'offset' variable before using it as an index into an array for reading.","ecosystems":["SUSE:Linux Enterprise Module for Basesystem 15 SP3","SUSE:Linux Enterprise Module for Desktop Applications 15 SP3","SUSE:Linux Enterprise Workstation Extension 15 SP3","openSUSE:Leap 15.3"],"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 contents disclosure in cli_feat_read_cb","id":"CVE-2021-3588","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"information_disclosure","year":"2021"},"n_packages":4,"n_references":2,"next":{"headline":"Missing Authentication for Critical Function in Foreman Ansible","id":"CVE-2021-3589"},"packages":[{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP3","fixed":["5.55-3.6.1"],"introduced":["0"],"last_affected":[],"package":"bluez","purl":"pkg:rpm/suse/bluez\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP3","source":"SUSE-SU-2021:2459-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Desktop Applications 15 SP3","fixed":["5.55-3.6.1"],"introduced":["0"],"last_affected":[],"package":"bluez","purl":"pkg:rpm/suse/bluez\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Desktop%20Applications%2015%20SP3","source":"SUSE-SU-2021:2459-1"},{"ecosystem":"SUSE:Linux Enterprise Workstation Extension 15 SP3","fixed":["5.55-3.6.1"],"introduced":["0"],"last_affected":[],"package":"bluez","purl":"pkg:rpm/suse/bluez\u0026distro=SUSE%20Linux%20Enterprise%20Workstation%20Extension%2015%20SP3","source":"SUSE-SU-2021:2459-1"},{"ecosystem":"openSUSE:Leap 15.3","fixed":["5.55-3.6.1"],"introduced":["0"],"last_affected":[],"package":"bluez","purl":"pkg:rpm/opensuse/bluez\u0026distro=openSUSE%20Leap%2015.3","source":"openSUSE-SU-2021:2459-1"}],"prev":{"headline":"Misconfiguration in servicemesh-operator","id":"CVE-2021-3586"},"products":["BlueZ"],"published":"2021-06-10","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":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"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":"2024-09-16","vendors":["BlueZ"]},"summary":"An attacker can read sensitive memory contents due to missing bounds checks in the BlueZ Bluetooth stack's GATT database handler.","url":"https://insights.sbomify.com/CVE-2021-3588/"}