| パッケージ | 影響を受けるバージョン | 修正済みバージョン |
|---|---|---|
| electron | = 17.0.0≥ 14.0.0, < 14.2.4≥ 15.0.0, < 15.3.5≥ 16.0.0, < 16.0.6< 13.6.6 | 14.2.415.3.516.0.613.6.6 |
| electron | ≥ 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.6< 13.6.6 | 14.2.415.3.516.0.617.0.0-alpha.613.6.6 |
This vulnerability allows renderers to obtain access to a random bluetooth device via the web bluetooth API if the app has not configured a custom select-bluetooth-device event handler. The device that is accessed is random and the attacker would have no way of selecting a specific device.
All current stable versions of Electron are affected.
This has been patched and the following Electron versions contain the fix:
17.0.0-alpha.616.0.615.3.514.2.413.6.6Adding this code to your app can workaround the issue.
app.on('web-contents-created', (event, webContents) => {
webContents.on('select-bluetooth-device', (event, devices, callback) => {
// Prevent default behavior
event.preventDefault();
// Cancel the request
callback('');
});
});
For more information If you have any questions or comments about this advisory, email us at [email protected].
これらの製品をお使いですか?サイトをスキャンして、脆弱なバージョンが公開されていないか確認しましょう。
無料でサイトをスキャン