Vulnerability · Published Mar 22, 2022 · Assigned by GitHub_M

CVE-2022-21718Renderers can obtain access to random bluetooth device without permission in Electron

Low 3.4

In plain English

A low-severity security flaw in electron from electron. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.9% (higher than 61% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)3.4Low
Exploit odds (30 days)0.9%top 38.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npmelectron13.6.6GHSA-3p22-ghq8-v749
npmelectron14.2.4GHSA-3p22-ghq8-v749
npmelectron15.3.5GHSA-3p22-ghq8-v749
npmelectron16.0.6GHSA-3p22-ghq8-v749
npmelectron17.0.0-alpha.6GHSA-3p22-ghq8-v749

Affected products (as reported)

VendorProductVersions
electron electron < 13.6.6>= 14.0.0-beta.1, < 14.2.4>= 15.0.0-beta.1, < 15.3.5>= 16.0.0-beta.1, < 16.0.6>= 17.0.0-alpha.1, <= 17.0.0-alpha.5

Weakness: CWE-668 · Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:N/A:N

References