Renderers can obtain access to random bluetooth device without permission in Electron
electron
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| electron npm |
|
|
electron
| Product | Affected | Fixed in |
|---|---|---|
| electron npm |
|
|
16.0.617.0.0-alpha.6Electron 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.
From the CVE record · GitHub_M
Affected Electron versions allow renderers to access a Bluetooth device through the Web Bluetooth API when the app has not configured a custom `select-bluetooth-device` event handler. The input does not specify network access, authentication, or user interaction requirements.
Teams using the npm `electron` package should check versions below 13.6.6, 14.0.0-beta.1 through versions below 14.2.4, 15.0.0-beta.1 through versions below 15.3.5, 16.0.0-beta.1 through versions below 16.0.6, and 17.0.0-alpha.1 through versions below 17.0.0-alpha.6.