CVE-2022-21718

Renderers can obtain access to random bluetooth device without permission in Electron

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.

Categories

3.4
CVSS
Severity: Low
CVSS 3.1 •
CVSS 2.0 •
EPSS 0.89% Top 30%
Third-Party Advisory github.com Third-Party Advisory github.com Third-Party Advisory github.com
Affected: electron electron
Published at:
Updated at:

References

Link Tags
https://github.com/electron/electron/security/advisories/GHSA-3p22-ghq8-v749 third party advisory mitigation
https://github.com/electron/electron/pull/32178 issue tracking third party advisory patch
https://github.com/electron/electron/pull/32240 issue tracking third party advisory patch

Frequently Asked Questions

What is the severity of CVE-2022-21718?
CVE-2022-21718 has been scored as a low severity vulnerability.
How to fix CVE-2022-21718?
To fix CVE-2022-21718, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2022-21718 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2022-21718 is being actively exploited. According to its EPSS score, there is a ~1% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2022-21718?
CVE-2022-21718 affects electron electron.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.