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.
CWE
- CWE-668 — CWE-668: Exposure of Resource to Wrong Sphere
Affected
- electron / electron — v=< 13.6.6 [affected]; v=>= 14.0.0-beta.1, < 14.2.4 [affected]; v=>= 15.0.0-beta.1, < 15.3.5 [affected]; v=>= 16.0.0-beta.1, < 16.0.6 [affected]; v=>= 17.0.0-alpha.1, <= 17.0.0-alpha.5 [affected]
CVSS
- 3.1 score=3.4 severity=LOW
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:N/A:N
References
- https://github.com/electron/electron/security/advisories/GHSA-3p22-ghq8-v749 x_refsource_CONFIRM
- https://github.com/electron/electron/pull/32178 x_refsource_MISC
- https://github.com/electron/electron/pull/32240 x_refsource_MISC
Source
cvelistV5-main/cves/2022/21xxx/CVE-2022-21718.json