Vulnerability Details : CVE-2022-21718
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.
Products affected by CVE-2022-21718
- cpe:2.3:a:electronjs:electron:*:*:*:*:*:*:*:*
- cpe:2.3:a:electronjs:electron:*:*:*:*:*:*:*:*
- cpe:2.3:a:electronjs:electron:*:*:*:*:*:*:*:*
- cpe:2.3:a:electronjs:electron:*:*:*:*:*:*:*:*
- cpe:2.3:a:electronjs:electron:17.0.0:alpha1:*:*:*:*:*:*
- cpe:2.3:a:electronjs:electron:17.0.0:alpha2:*:*:*:*:*:*
- cpe:2.3:a:electronjs:electron:17.0.0:alpha3:*:*:*:*:*:*
- cpe:2.3:a:electronjs:electron:17.0.0:alpha4:*:*:*:*:*:*
- cpe:2.3:a:electronjs:electron:17.0.0:alpha5:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2022-21718
0.89%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 74 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2022-21718
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
4.0
|
MEDIUM | AV:N/AC:L/Au:S/C:P/I:N/A:N |
8.0
|
2.9
|
NIST | |
5.0
|
MEDIUM | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N |
3.1
|
1.4
|
NIST | |
3.4
|
LOW | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:N/A:N |
1.7
|
1.4
|
GitHub, Inc. |
CWE ids for CVE-2022-21718
-
The product exposes a resource to the wrong control sphere, providing unintended actors with inappropriate access to the resource.Assigned by: security-advisories@github.com (Secondary)
-
The product does not perform an authorization check when an actor attempts to access a resource or perform an action.Assigned by: nvd@nist.gov (Primary)
References for CVE-2022-21718
-
https://github.com/electron/electron/security/advisories/GHSA-3p22-ghq8-v749
Renderers can obtain access to random bluetooth device without permission · Advisory · electron/electron · GitHubMitigation;Third Party Advisory
-
https://github.com/electron/electron/pull/32240
fix: check for single bluetooth listener by VerteDinde · Pull Request #32240 · electron/electron · GitHubIssue Tracking;Patch;Third Party Advisory
-
https://github.com/electron/electron/pull/32178
fix: ensure bluetooth devices are not returned by default by MarshallOfSound · Pull Request #32178 · electron/electron · GitHubIssue Tracking;Patch;Third Party Advisory
Jump to