Skip to content

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

MediumCVSS 5.0 EPSS 0.95%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

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.

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
electronjs electron < 13.6.6; = 17.0.0-alpha1; = 17.0.0-alpha2; = 17.0.0-alpha3 +5 more 13.6.6, 14.2.4, 15.3.5, 16.0.6 Fixed
npm electron(npm) < 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 +2 more 13.6.6, 14.2.4, 15.3.5, 16.0.6, 17.0.0-alpha.6 Fixed
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 +1 more No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
npm electron(npm) < 13.6.6 13.6.6
npm electron(npm) >= 14.0.0-beta.1, < 14.2.4 14.2.4
npm electron(npm) >= 15.0.0-beta.1, < 15.3.5 15.3.5
npm electron(npm) >= 16.0.0-beta.1, < 16.0.6 16.0.6
npm electron(npm) >= 17.0.0-alpha.1, <= 17.0.0-alpha.5 No fix listed
electron = < 13.6.6 No fix listed
electron = >= 14.0.0-beta.1, < 14.2.4 No fix listed
electron = >= 15.0.0-beta.1, < 15.3.5 No fix listed
electron = >= 16.0.0-beta.1, < 16.0.6 No fix listed
electron = >= 17.0.0-alpha.1, <= 17.0.0-alpha.5 No fix listed
electronjs electron < 13.6.6 13.6.6
electronjs electron >= 14.0.0, < 14.2.4 14.2.4
electronjs electron >= 15.0.0, < 15.3.5 15.3.5
electronjs electron >= 16.0.0, < 16.0.6 16.0.6
electronjs electron = 17.0.0-alpha1 No fix listed
electronjs electron = 17.0.0-alpha2 No fix listed
electronjs electron = 17.0.0-alpha3 No fix listed
electronjs electron = 17.0.0-alpha4 No fix listed
electronjs electron = 17.0.0-alpha5 No fix listed
npm electron(npm) >= 17.0.0-alpha.1, < 17.0.0-alpha.6 17.0.0-alpha.6

References