CVE-2022-21718
Renderers can obtain access to random bluetooth device without permission in Electron
Overview
Description
Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. A vulnerability in versions prior to 17.0.0-alpha.6, 16.0.6, 15.3.5, 14.2.4, and 13.6.6 allows renderers to obtain access to a bluetooth device via the web bluetooth API if the app has not configured a custom select-bluetooth-device event handler. This has been patched and Electron versions 17.0.0-alpha.6, 16.0.6, 15.3.5, 14.2.4, and 13.6.6 contain the fix. Code from the GitHub Security Advisory can be added to the app to work around the issue.
Source: OX vulnerability database
Severity
5 · MEDIUM
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Changed
- Confidentiality
- Low
- Integrity
- None
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N
Weakness: CWE-668, CWE-862
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| npm | electron | <13.6.6>=14.0.0-beta.1, <14.2.4>=15.0.0-beta.1, <15.3.5>=16.0.0-beta.1, <16.0.6>=17.0.0-alpha.1, <17.0.0-alpha.6 | 13.6.614.2.415.3.516.0.617.0.0-alpha.6 |
Open a package to see all its vulnerabilities.
Operating systems
No Linux distribution reports this ID.
References
- github.com https://github.com/electron/electron
- github.com https://github.com/electron/electron/pull/32178
- github.com https://github.com/electron/electron/pull/32240
- github.com https://github.com/electron/electron/security/advisories/GHSA-3p22-ghq8-v749
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2022-21718
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.