CVE-2022-21718
March 22, 2022
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.
Affected Packages
electron (NPM):
Affected version(s) >=0.1.0 <13.6.6Fix Suggestion:
Update to version 13.6.6electron (NPM):
Affected version(s) >=15.0.0-beta.1 <15.3.5Fix Suggestion:
Update to version 15.3.5electron (NPM):
Affected version(s) >=14.0.0-beta.1 <14.2.4Fix Suggestion:
Update to version 14.2.4electron (NPM):
Affected version(s) >=16.0.0-beta.1 <16.0.6Fix Suggestion:
Update to version 16.0.6electron (NPM):
Affected version(s) >=17.0.0-alpha.1 <17.0.0-alpha.6Fix Suggestion:
Update to version 17.0.0-alpha.6Additional Notes
The description of this vulnerability differs from MITRE.
Related ResourcesĀ (6)
Do you need more information?
Contact UsCVSS v4
Base Score:
4.8
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
HIGH
User Interaction
PASSIVE
Vulnerable System Confidentiality
LOW
Vulnerable System Integrity
NONE
Vulnerable System Availability
NONE
Subsequent System Confidentiality
LOW
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
3.4
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
HIGH
User Interaction
REQUIRED
Scope
CHANGED
Confidentiality
LOW
Integrity
NONE
Availability
NONE
CVSS v2
Base Score:
4
Access Vector
NETWORK
Access Complexity
LOW
Authentication
SINGLE
Confidentiality Impact
PARTIAL
Integrity Impact
NONE
Availability Impact
NONE
EPSS
Base Score:
1.18