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.
The product exposes a resource to the wrong control sphere, providing unintended actors with inappropriate access to the resource.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Electron | Electronjs | * | 13.6.6 (excluding) |
Electron | Electronjs | 14.0.0 (including) | 14.2.4 (excluding) |
Electron | Electronjs | 15.0.0 (including) | 15.3.5 (excluding) |
Electron | Electronjs | 16.0.0 (including) | 16.0.6 (excluding) |
Electron | Electronjs | 17.0.0-alpha1 (including) | 17.0.0-alpha1 (including) |
Electron | Electronjs | 17.0.0-alpha2 (including) | 17.0.0-alpha2 (including) |
Electron | Electronjs | 17.0.0-alpha3 (including) | 17.0.0-alpha3 (including) |
Electron | Electronjs | 17.0.0-alpha4 (including) | 17.0.0-alpha4 (including) |
Electron | Electronjs | 17.0.0-alpha5 (including) | 17.0.0-alpha5 (including) |
Resources such as files and directories may be inadvertently exposed through mechanisms such as insecure permissions, or when a program accidentally operates on the wrong object. For example, a program may intend that private files can only be provided to a specific user. This effectively defines a control sphere that is intended to prevent attackers from accessing these private files. If the file permissions are insecure, then parties other than the user will be able to access those files. A separate control sphere might effectively require that the user can only access the private files, but not any other files on the system. If the program does not ensure that the user is only requesting private files, then the user might be able to access other files on the system. In either case, the end result is that a resource has been exposed to the wrong party.