CVE-2022-21718

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

State
Published
Severity
3.4 Low
Published
Mar 22, 2022
Updated
Apr 23, 2025
Reserved
Nov 16, 2021

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.13.4 LowCVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:N/A:NGitHub_M

Weaknesses

  • CWE-668 Exposure of Resource to Wrong Sphere

Affected Products

ProductVersions
electronelectron
  • < 13.6.6Affected
  • >= 14.0.0-beta.1, < 14.2.4Affected
  • >= 15.0.0-beta.1, < 15.3.5Affected
  • >= 16.0.0-beta.1, < 16.0.6Affected
  • >= 17.0.0-alpha.1, <= 17.0.0-alpha.5Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.