// For flags

CVE-2022-21718

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

Severity Score

5.0
*CVSS v3.1

Exploit Likelihood

*EPSS

Affected Versions

*CPE

Public Exploits

0
*Multiple Sources

Exploited in Wild

-
*KEV

Decision

-
*SSVC
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

*Credits: N/A
CVSS Scores
Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
None
Availability
None
Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
None
Availability
None
Attack Vector
Network
Attack Complexity
Low
Authentication
Single
Confidentiality
Partial
Integrity
None
Availability
None
* Common Vulnerability Scoring System
SSVC
  • Decision:-
Exploitation
-
Automatable
-
Tech. Impact
-
* Organization's Worst-case Scenario
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
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