CVE-2021-21367
Incorrect Authorization in switchboard-plug-bluetooth
Mitigation
- Upgrade switchboard-plug-bluetooth to 2.3.5 or later.
Who should check
- Anyone running elementary switchboard-plug-bluetooth >= 2.3.0, < 2.3.5
Vulnerability facts
- Affected
- elementary switchboard-plug-bluetooth >= 2.3.0, < 2.3.5
- Fixed in
- elementary switchboard-plug-bluetooth 2.3.5
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 6.1 (v3.1, CNA)CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:LOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Adjacent network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Changed (impact reaches other components)
- Confidentiality impact: Low
- Integrity impact: None
- Availability impact: Low
- EPSS
- 0.64% chance of exploitation in 30 days (percentile 45, 2026-11-26)
- CWE
- CWE-863
- Modified
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).
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| elementary switchboard-plug-bluetooth | >= 2.3.0, < 2.3.5 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2021-21367. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2021-21367.md Affected: elementary switchboard-plug-bluetooth >= 2.3.0, < 2.3.5 Fixed in: elementary switchboard-plug-bluetooth 2.3.5 Steps: 1. Search this machine and project for elementary switchboard-plug-bluetooth: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
- https://github.com/elementary/switchboard-plug-bluetooth/security/advisories/GHSA-5p3g-j69g-w2mq
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/O7TCGM4B45VLUJDCE5PHFYA5KBNHD4RA/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/AV7WKO5SZHTF3QEMX4WZ576HRECIG6VQ/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SWUPPVFG76PXQA3AHSGKYPRMVZ5AYHZI/
FAQ
Is CVE-2021-21367 being exploited?
There is no confirmed exploitation: CVE-2021-21367 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.64% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2021-21367?
Medium: CVSS 6.1 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2021-21367?
elementary switchboard-plug-bluetooth >= 2.3.0, < 2.3.5.
Is there a fix for CVE-2021-21367?
Yes. Fixed in elementary switchboard-plug-bluetooth 2.3.5. Upgrade switchboard-plug-bluetooth to 2.3.5 or later.
How do I check if I'm affected by CVE-2021-21367?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.