{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-21718","id":"CVE-2022-21718","title":"Renderers can obtain access to random bluetooth device without permission in Electron","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 v","descriptionLong":"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":"2022-03-22T16:25:12.000Z","updated":"2026-10-28T02:30:23.799091403Z","reserved":"2021-11-16T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":3.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:N/A:N","rating":"low","source":"GitHub_M"},"metrics":[{"version":"3.1","score":3.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:N/A:N","rating":"low","source":"GitHub_M"},{"version":"3.1","score":3.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:N/A:N","rating":"low","source":"github.com"},{"version":"3.1","score":5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N","rating":"medium","source":"NVD"},{"version":"3.1","score":3.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:N/A:N","rating":"low","source":"OSV"},{"version":"3.1","score":3.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:N/A:N","rating":"low","source":"GitHub"},{"version":"2.0","score":4,"vector":"AV:N/AC:L/Au:S/C:P/I:N/A:N","rating":"medium","source":"NVD"}],"rating":"low","products":["electron"],"affectedProducts":[{"vendor":"electron","product":"electron","defaultStatus":null,"versions":[{"status":"affected","version":"< 13.6.6"},{"status":"affected","version":">= 14.0.0-beta.1, < 14.2.4"},{"status":"affected","version":">= 15.0.0-beta.1, < 15.3.5"},{"status":"affected","version":">= 16.0.0-beta.1, < 16.0.6"},{"status":"affected","version":">= 17.0.0-alpha.1, <= 17.0.0-alpha.5"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"electron","purl":"pkg:npm/electron","ranges":["<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",">=17.0.0-alpha.1 <17.0.0-alpha.6"],"fixed":["13.6.6","14.2.4","15.3.5","16.0.6","17.0.0-alpha.6"],"advisory":"GHSA-3p22-ghq8-v749"}],"cwes":["CWE-668","CWE-862"],"aliases":["GHSA-3p22-ghq8-v749"],"references":[{"url":"https://github.com/electron/electron/security/advisories/GHSA-3p22-ghq8-v749","tags":["x_refsource_CONFIRM","x_transferred","Mitigation","Third Party Advisory","advisory","web"]},{"url":"https://github.com/electron/electron/pull/32178","tags":["x_refsource_MISC","x_transferred","Issue Tracking","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/electron/electron/pull/32240","tags":["x_refsource_MISC","x_transferred","Issue Tracking","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/21xxx/CVE-2022-21718.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-21718","tags":["advisory"]},{"url":"https://github.com/electron/electron","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00946,"epssPercentile":0.61793,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-21718","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-21718","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-21718","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-3p22-ghq8-v749","ok":true,"note":"GHSA-3p22-ghq8-v749"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-21718","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}