CVE-2022-21718
Renderers can obtain access to random bluetooth device without permission in Electron
Severity Score
Exploit Likelihood
Affected Versions
Public Exploits
0Exploited in Wild
-Decision
Descriptions
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.
Electron es un marco de trabajo para escribir aplicaciones de escritorio multiplataforma usando JavaScript, HTML y CSS. Una vulnerabilidad en las versiones anteriores a "17.0.0-alpha.6", "16.0.6", "15.3.5", "14.2.4" y "13.6.6" permite a renderizadores obtener acceso a un dispositivo bluetooth por medio de la API bluetooth de la web si la aplicación no ha configurado un controlador de eventos personalizado "select-bluetooth-device". Esto ha sido parcheado y las versiones de Electron "17.0.0-alpha.6", "16.0.6", "15.3.5", "14.2.4" y "13.6.6" contienen la corrección. El código del aviso de seguridad de GitHub puede añadirse a la aplicación para mitigar el problema
CVSS Scores
SSVC
- Decision:-
Timeline
- 2021-11-16 CVE Reserved
- 2022-03-22 CVE Published
- 2023-10-13 EPSS Updated
- 2024-08-03 CVE Updated
- ---------- Exploited in Wild
- ---------- KEV Due Date
- ---------- First Exploit
CWE
- CWE-668: Exposure of Resource to Wrong Sphere
- CWE-862: Missing Authorization
CAPEC
References (3)
URL | Tag | Source |
---|---|---|
https://github.com/electron/electron/security/advisories/GHSA-3p22-ghq8-v749 | Mitigation |
URL | Date | SRC |
---|
URL | Date | SRC |
---|---|---|
https://github.com/electron/electron/pull/32178 | 2023-07-24 | |
https://github.com/electron/electron/pull/32240 | 2023-07-24 |
URL | Date | SRC |
---|
Affected Vendors, Products, and Versions
Vendor | Product | Version | Other | Status | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Vendor | Product | Version | Other | Status | <-- --> | Vendor | Product | Version | Other | Status |
Electronjs Search vendor "Electronjs" | Electron Search vendor "Electronjs" for product "Electron" | < 13.6.6 Search vendor "Electronjs" for product "Electron" and version " < 13.6.6" | - |
Affected
| ||||||
Electronjs Search vendor "Electronjs" | Electron Search vendor "Electronjs" for product "Electron" | >= 14.0.0 < 14.2.4 Search vendor "Electronjs" for product "Electron" and version " >= 14.0.0 < 14.2.4" | - |
Affected
| ||||||
Electronjs Search vendor "Electronjs" | Electron Search vendor "Electronjs" for product "Electron" | >= 15.0.0 < 15.3.5 Search vendor "Electronjs" for product "Electron" and version " >= 15.0.0 < 15.3.5" | - |
Affected
| ||||||
Electronjs Search vendor "Electronjs" | Electron Search vendor "Electronjs" for product "Electron" | >= 16.0.0 < 16.0.6 Search vendor "Electronjs" for product "Electron" and version " >= 16.0.0 < 16.0.6" | - |
Affected
| ||||||
Electronjs Search vendor "Electronjs" | Electron Search vendor "Electronjs" for product "Electron" | 17.0.0 Search vendor "Electronjs" for product "Electron" and version "17.0.0" | alpha1 |
Affected
| ||||||
Electronjs Search vendor "Electronjs" | Electron Search vendor "Electronjs" for product "Electron" | 17.0.0 Search vendor "Electronjs" for product "Electron" and version "17.0.0" | alpha2 |
Affected
| ||||||
Electronjs Search vendor "Electronjs" | Electron Search vendor "Electronjs" for product "Electron" | 17.0.0 Search vendor "Electronjs" for product "Electron" and version "17.0.0" | alpha3 |
Affected
| ||||||
Electronjs Search vendor "Electronjs" | Electron Search vendor "Electronjs" for product "Electron" | 17.0.0 Search vendor "Electronjs" for product "Electron" and version "17.0.0" | alpha4 |
Affected
| ||||||
Electronjs Search vendor "Electronjs" | Electron Search vendor "Electronjs" for product "Electron" | 17.0.0 Search vendor "Electronjs" for product "Electron" and version "17.0.0" | alpha5 |
Affected
|