{"answers":{"affected":"It affects 2 products.","exploited":"There is no known exploitation of CVE-2021-3658 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2021-3658 is a medium-severity vulnerability in Fedoraproject Fedora, published on 2 Mar 2022. 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-3658 and fix it if it is affected.\n\nWhat it is: CVE-2021-3658 is a medium-severity vulnerability in Fedoraproject Fedora, published on 2 Mar 2022. 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-3658 in the wild and no public exploit code.\n\nAffected product: Fedoraproject Fedora. 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-3658/ (Markdown: https://insights.sbomify.com/CVE-2021-3658/index.md)","id":"CVE-2021-3658","markdown":"https://insights.sbomify.com/CVE-2021-3658/index.md","name":"CVE-2021-3658","record":{"aliases":["DEBIAN-CVE-2021-3658","GHSA-839c-8x38-qf59","MGASA-2021-0395","OESA-2021-1370","UBUNTU-CVE-2021-3658"],"analysis":{"component_type":"operating_system","fix_type":"patch","impacts":["security_bypass"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Linux Bluetooth stack","requires_auth":"none","summary":"Bluez incorrectly restores Bluetooth discoverability after power cycles, potentially exposing the stack to nearby attackers.","user_interaction":"not_required","vuln_class":"security_feature_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"bluez","vendor":"bluez"},{"product":"fedora","vendor":"fedoraproject"}],"cvss":{"score":6.5,"severity":"medium","source":"cisa-adp","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-863","name":"Incorrect Authorization"}],"description":"bluetoothd from bluez incorrectly saves adapters' Discoverable status when a device is powered down, and restores it when powered up. If a device is powered down while discoverable, it will be discoverable when powered on again. This could lead to inadvertent exposure of the bluetooth stack to physically nearby attackers.","ecosystems":[],"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":"Security feature bypass in bluez","id":"CVE-2021-3658","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"fedoraproject:fedora","products":["fedoraproject:fedora"],"type":"security_feature_bypass","year":"2021"},"n_packages":0,"n_references":5,"next":{"headline":"A NULL pointer dereference flaw was found in the Linux kernel’s IEEE 802.15.4 wireless networking subsystem in the way the user closes the LR-WPAN connection.","id":"CVE-2021-3659"},"packages":[],"prev":{"headline":"A flaw was found in mbsync versions prior to 1.4.4.","id":"CVE-2021-3657"},"products":["bluez"],"published":"2022-03-02","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":"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":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-04-15","vendors":["n/a"]},"summary":"Bluez incorrectly restores Bluetooth discoverability after power cycles, potentially exposing the stack to nearby attackers.","url":"https://insights.sbomify.com/CVE-2021-3658/"}