{"answers":{"affected":"It affects 2 products.","exploited":"There is no known exploitation of CVE-2021-21367 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2021-21367 is a medium-severity missing authorization vulnerability in Fedoraproject Fedora, published on 12 Mar 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-21367 and fix it if it is affected.\n\nWhat it is: CVE-2021-21367 is a medium-severity missing authorization vulnerability in Fedoraproject Fedora, published on 12 Mar 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-21367 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-21367/ (Markdown: https://insights.sbomify.com/CVE-2021-21367/index.md)","id":"CVE-2021-21367","markdown":"https://insights.sbomify.com/CVE-2021-21367/index.md","name":"CVE-2021-21367","record":{"aliases":["GHSA-5p3g-j69g-w2mq","openSUSE-SU-2024:14486-1"],"analysis":{"component_type":"desktop_application","fix_type":"upgrade","impacts":["privilege_escalation","data_read"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"elementary OS Bluetooth plug","requires_auth":"none","summary":"Attackers can pair with devices without user consent, potentially extracting data or controlling input if specific services are installed.","user_interaction":"not_required","vuln_class":"missing_authorization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"switchboard_bluetooth_plug","vendor":"elementary"},{"product":"fedora","vendor":"fedoraproject"}],"cvss":{"score":6.1,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:L","version":"3.1"},"cwes":[{"id":"CWE-863","name":"Incorrect Authorization"}],"description":"Switchboard Bluetooth Plug for elementary OS from version 2.3.0 and before version version 2.3.5 has an incorrect authorization vulnerability. When the Bluetooth plug is running (in discoverable mode), Bluetooth service requests and pairing requests are automatically accepted, allowing physically proximate attackers to pair with a device running an affected version of switchboard-plug-bluetooth without the active consent of the user. By default, elementary OS doesn't expose any services via Bluetooth that allow information to be extracted by paired Bluetooth devices. However, if such services (i.e. contact list sharing software) have been installed, it's possible that attackers have been able to extract data from such services without authorization. If no such services have been installed, attackers are only able to pair with a device running an affected version without authorization and then play audio out of the device or possibly present a HID device (keyboard, mouse, etc...) to control the device. As such, users should check the list of trusted/paired devices and remove any that are not 100% confirmed to be genuine. This is fixed in version 2.3.5. To reduce the likelihood of this vulnerability on an unpatched version, only open the Bluetooth plug for short intervals when absolutely necessary and preferably not in crowded public areas. To mitigate the risk entirely with unpatched versions, do not open the Bluetooth plug within switchboard at all, and use a different method for pairing devices if necessary (e.g. `bluetoothctl` CLI).","ecosystems":["openSUSE:Tumbleweed"],"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":"Incorrect Authorization in switchboard-plug-bluetooth","id":"CVE-2021-21367","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"fedoraproject:fedora","products":["fedoraproject:fedora"],"type":"missing_authorization","year":"2021"},"n_packages":1,"n_references":6,"next":{"headline":"Prototype poisoning","id":"CVE-2021-21368"},"packages":[{"ecosystem":"openSUSE:Tumbleweed","fixed":["8.0.1-1.1"],"introduced":["0"],"last_affected":[],"package":"switchboard-plug-bluetooth","purl":"pkg:rpm/opensuse/switchboard-plug-bluetooth\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:14486-1"}],"prev":{"headline":"Misinterpretation of malicious XML input","id":"CVE-2021-21366"},"products":["switchboard-plug-bluetooth"],"published":"2021-03-12","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"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-08-03","vendors":["elementary"]},"summary":"Attackers can pair with devices without user consent, potentially extracting data or controlling input if specific services are installed.","url":"https://insights.sbomify.com/CVE-2021-21367/"}