Auth bypass in Electron
CVE-2022-21718
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 3.4 (Low). Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:N/A:N.
EPSS exploit prediction
EPSS: 0.009 (59.6th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 60th percentile — 59.6% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.009 · newest: 0.009 · change: 0.000
Affected products
- Electron — versions < 13.6.6, >= 14.0.0-beta.1, < 14.2.4, >= 15.0.0-beta.1, < 15.3.5
- Electronjs Electron — versions 17.0.0
Weakness classification (CWE)
References
- github.com/electron/electron/security/advisories/GHSA-3p22-ghq8-v749 (Third Party Advisory, Mitigation)
- github.com/electron/electron/pull/32178 (Patch, Third Party Advisory, Issue Tracking)
- github.com/electron/electron/pull/32240 (Patch, Third Party Advisory, Issue Tracking)
Frequently asked questions
- What is CVE-2022-21718?
- CVE-2022-21718 is a low-severity vulnerability in Electron, classified under Exposure of Resource to Wrong Sphere. CVSS score: 3.4/10. Published 2022-03-22.
- How severe is CVE-2022-21718?
- Low severity. CVSS v3 base score is 3.4 out of 10.