CVE-2022-21718
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.
How to fix
- electronjs electron13.6.6, 14.2.4, 15.3.5, 16.0.6 or later
- electron13.6.6, 14.2.4, 15.3.5, 16.0.6, 17.0.0-alpha.6 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| electronjs electron | v < 13.6.6, 14.0.0 ≤ v < 14.2.4, 15.0.0 ≤ v < 15.3.5, 16.0.0 ≤ v < 16.0.6, 17.0.0 | 13.6.6, 14.2.4, 15.3.5, 16.0.6 |
| electronnpm | v < 13.6.6, 14.0.0-beta.1 ≤ v < 14.2.4, 15.0.0-beta.1 ≤ v < 15.3.5, 16.0.0-beta.1 ≤ v < 16.0.6, 17.0.0-alpha.1 ≤ v < 17.0.0-alpha.6 | 13.6.6, 14.2.4, 15.3.5, 16.0.6, 17.0.0-alpha.6 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.