{"api_version":"1","generated_at":"2026-07-24T21:28:48+00:00","cve":"CVE-2022-21718","urls":{"html":"https://cve.report/CVE-2022-21718","api":"https://cve.report/api/cve/CVE-2022-21718.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-21718","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-21718"},"summary":{"title":"CVE-2022-21718","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 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.","state":"PUBLIC","assigner":"security-advisories@github.com","published_at":"2022-03-22 17:15:00","updated_at":"2023-07-24 13:46:00"},"problem_types":["CWE-862"],"metrics":[],"references":[{"url":"https://github.com/electron/electron/pull/32240","name":"https://github.com/electron/electron/pull/32240","refsource":"MISC","tags":[],"title":"fix: check for single bluetooth listener by VerteDinde · Pull Request #32240 · electron/electron · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/electron/electron/pull/32178","name":"https://github.com/electron/electron/pull/32178","refsource":"MISC","tags":[],"title":"fix: ensure bluetooth devices are not returned by default by MarshallOfSound · Pull Request #32178 · electron/electron · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/electron/electron/security/advisories/GHSA-3p22-ghq8-v749","name":"https://github.com/electron/electron/security/advisories/GHSA-3p22-ghq8-v749","refsource":"CONFIRM","tags":[],"title":"Renderers can obtain access to random bluetooth device without permission · Advisory · electron/electron · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-21718","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-21718","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2022","cve_id":"21718","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"electronjs","cpe5":"electron","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2022","cve_id":"21718","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"electronjs","cpe5":"electron","cpe6":"17.0.0","cpe7":"alpha1","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2022","cve_id":"21718","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"electronjs","cpe5":"electron","cpe6":"17.0.0","cpe7":"alpha2","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2022","cve_id":"21718","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"electronjs","cpe5":"electron","cpe6":"17.0.0","cpe7":"alpha3","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2022","cve_id":"21718","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"electronjs","cpe5":"electron","cpe6":"17.0.0","cpe7":"alpha4","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2022","cve_id":"21718","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"electronjs","cpe5":"electron","cpe6":"17.0.0","cpe7":"alpha5","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"security-advisories@github.com","ID":"CVE-2022-21718","STATE":"PUBLIC","TITLE":"Renderers can obtain access to random bluetooth device without permission in Electron"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"electron","version":{"version_data":[{"version_value":"< 13.6.6"},{"version_value":">= 14.0.0-beta.1, < 14.2.4"},{"version_value":">= 15.0.0-beta.1, < 15.3.5"},{"version_value":">= 16.0.0-beta.1, < 16.0.6"},{"version_value":">= 17.0.0-alpha.1, <= 17.0.0-alpha.5"}]}}]},"vendor_name":"electron"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":3.4,"baseSeverity":"LOW","confidentialityImpact":"LOW","integrityImpact":"NONE","privilegesRequired":"HIGH","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:N/A:N","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-668: Exposure of Resource to Wrong Sphere"}]}]},"references":{"reference_data":[{"name":"https://github.com/electron/electron/security/advisories/GHSA-3p22-ghq8-v749","refsource":"CONFIRM","url":"https://github.com/electron/electron/security/advisories/GHSA-3p22-ghq8-v749"},{"name":"https://github.com/electron/electron/pull/32178","refsource":"MISC","url":"https://github.com/electron/electron/pull/32178"},{"name":"https://github.com/electron/electron/pull/32240","refsource":"MISC","url":"https://github.com/electron/electron/pull/32240"}]},"source":{"advisory":"GHSA-3p22-ghq8-v749","discovery":"UNKNOWN"}},"nvd":{"publishedDate":"2022-03-22 17:15:00","lastModifiedDate":"2023-07-24 13:46:00","problem_types":["CWE-862"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"CHANGED","confidentialityImpact":"LOW","integrityImpact":"NONE","availabilityImpact":"NONE","baseScore":5,"baseSeverity":"MEDIUM"},"exploitabilityScore":3.1,"impactScore":1.4},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:L/Au:S/C:P/I:N/A:N","accessVector":"NETWORK","accessComplexity":"LOW","authentication":"SINGLE","confidentialityImpact":"PARTIAL","integrityImpact":"NONE","availabilityImpact":"NONE","baseScore":4},"severity":"MEDIUM","exploitabilityScore":8,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:electronjs:electron:*:*:*:*:*:*:*:*","versionEndExcluding":"13.6.6","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:electronjs:electron:*:*:*:*:*:*:*:*","versionStartIncluding":"16.0.0","versionEndExcluding":"16.0.6","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:electronjs:electron:*:*:*:*:*:*:*:*","versionStartIncluding":"15.0.0","versionEndExcluding":"15.3.5","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:electronjs:electron:*:*:*:*:*:*:*:*","versionStartIncluding":"14.0.0","versionEndExcluding":"14.2.4","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:electronjs:electron:17.0.0:alpha1:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:electronjs:electron:17.0.0:alpha2:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:electronjs:electron:17.0.0:alpha3:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:electronjs:electron:17.0.0:alpha4:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:electronjs:electron:17.0.0:alpha5:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2022","CveId":"21718","Ordinal":"221419","Title":"CVE-2022-21718","CVE":"CVE-2022-21718","Year":"2022"},"notes":[{"CveYear":"2022","CveId":"21718","Ordinal":"1","NoteData":"** RESERVED ** This candidate has been reserved by an organization or individual that will use it when announcing a new security problem. When the candidate has been publicized, the details for this candidate will be provided.","Type":"Description","Title":null}]}}}