CVE-2022-21718
Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS.
Auswirkung
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.
Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, mit einem Administratorkonto, allerdings muss ein Nutzer etwas tun, etwa eine Datei oder einen Link öffnen. Bei Erfolg: geringes Risiko, dass Daten ausgelesen werden. Der Angriff kann über die verwundbare Komponente hinaus wirken.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| npm | electron | < 13.6.6 | 13.6.6 |
Betroffene Produkte · Electronjs
| Produkt | Betroffene Versionen |
|---|---|
| Electron | vor 13.6.6 ab 14.0.0 vor 14.2.4 ab 15.0.0 vor 15.3.5 ab 16.0.0 vor 16.0.6 Version 17.0.0 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- https://github.com/electron/electron/pull/32178
- https://github.com/electron/electron/pull/32240
- https://github.com/electron/electron/security/advisories/GHSA-3p22-ghq8-v749
- https://github.com/advisories/GHSA-3p22-ghq8-v749
- https://nvd.nist.gov/vuln/detail/CVE-2022-21718