CVE-2022-21718
Vulnerability from cvelistv5
Published
2022-03-22 16:25
Modified
2024-08-03 02:53
Severity ?
EPSS score ?
Summary
Renderers can obtain access to random bluetooth device without permission in Electron
References
▼ | URL | Tags | |
---|---|---|---|
security-advisories@github.com | https://github.com/electron/electron/pull/32178 | Issue Tracking, Patch, Third Party Advisory | |
security-advisories@github.com | https://github.com/electron/electron/pull/32240 | Issue Tracking, Patch, Third Party Advisory | |
security-advisories@github.com | https://github.com/electron/electron/security/advisories/GHSA-3p22-ghq8-v749 | Mitigation, Third Party Advisory |
Impacted products
{ "containers": { "adp": [ { "providerMetadata": { "dateUpdated": "2024-08-03T02:53:35.432Z", "orgId": "af854a3a-2127-422b-91ae-364da2661108", "shortName": "CVE" }, "references": [ { "tags": [ "x_refsource_CONFIRM", "x_transferred" ], "url": "https://github.com/electron/electron/security/advisories/GHSA-3p22-ghq8-v749" }, { "tags": [ "x_refsource_MISC", "x_transferred" ], "url": "https://github.com/electron/electron/pull/32178" }, { "tags": [ "x_refsource_MISC", "x_transferred" ], "url": "https://github.com/electron/electron/pull/32240" } ], "title": "CVE Program Container" } ], "cna": { "affected": [ { "product": "electron", "vendor": "electron", "versions": [ { "status": "affected", "version": "\u003c 13.6.6" }, { "status": "affected", "version": "\u003e= 14.0.0-beta.1, \u003c 14.2.4" }, { "status": "affected", "version": "\u003e= 15.0.0-beta.1, \u003c 15.3.5" }, { "status": "affected", "version": "\u003e= 16.0.0-beta.1, \u003c 16.0.6" }, { "status": "affected", "version": "\u003e= 17.0.0-alpha.1, \u003c= 17.0.0-alpha.5" } ] } ], "descriptions": [ { "lang": "en", "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." } ], "metrics": [ { "cvssV3_1": { "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" } } ], "problemTypes": [ { "descriptions": [ { "cweId": "CWE-668", "description": "CWE-668: Exposure of Resource to Wrong Sphere", "lang": "en", "type": "CWE" } ] } ], "providerMetadata": { "dateUpdated": "2022-03-22T16:25:11", "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa", "shortName": "GitHub_M" }, "references": [ { "tags": [ "x_refsource_CONFIRM" ], "url": "https://github.com/electron/electron/security/advisories/GHSA-3p22-ghq8-v749" }, { "tags": [ "x_refsource_MISC" ], "url": "https://github.com/electron/electron/pull/32178" }, { "tags": [ "x_refsource_MISC" ], "url": "https://github.com/electron/electron/pull/32240" } ], "source": { "advisory": "GHSA-3p22-ghq8-v749", "discovery": "UNKNOWN" }, "title": "Renderers can obtain access to random bluetooth device without permission in Electron", "x_legacyV4Record": { "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": "\u003c 13.6.6" }, { "version_value": "\u003e= 14.0.0-beta.1, \u003c 14.2.4" }, { "version_value": "\u003e= 15.0.0-beta.1, \u003c 15.3.5" }, { "version_value": "\u003e= 16.0.0-beta.1, \u003c 16.0.6" }, { "version_value": "\u003e= 17.0.0-alpha.1, \u003c= 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" } } } }, "cveMetadata": { "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa", "assignerShortName": "GitHub_M", "cveId": "CVE-2022-21718", "datePublished": "2022-03-22T16:25:12", "dateReserved": "2021-11-16T00:00:00", "dateUpdated": "2024-08-03T02:53:35.432Z", "state": "PUBLISHED" }, "dataType": "CVE_RECORD", "dataVersion": "5.1", "meta": { "nvd": "{\"cve\":{\"id\":\"CVE-2022-21718\",\"sourceIdentifier\":\"security-advisories@github.com\",\"published\":\"2022-03-22T17:15:07.810\",\"lastModified\":\"2023-07-24T13:46:59.967\",\"vulnStatus\":\"Analyzed\",\"descriptions\":[{\"lang\":\"en\",\"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.\"},{\"lang\":\"es\",\"value\":\"Electron es un marco de trabajo para escribir aplicaciones de escritorio multiplataforma usando JavaScript, HTML y CSS. Una vulnerabilidad en las versiones anteriores a \\\"17.0.0-alpha.6\\\", \\\"16.0.6\\\", \\\"15.3.5\\\", \\\"14.2.4\\\" y \\\"13.6.6\\\" permite a renderizadores obtener acceso a un dispositivo bluetooth por medio de la API bluetooth de la web si la aplicaci\u00f3n no ha configurado un controlador de eventos personalizado \\\"select-bluetooth-device\\\". Esto ha sido parcheado y las versiones de Electron \\\"17.0.0-alpha.6\\\", \\\"16.0.6\\\", \\\"15.3.5\\\", \\\"14.2.4\\\" y \\\"13.6.6\\\" contienen la correcci\u00f3n. El c\u00f3digo del aviso de seguridad de GitHub puede a\u00f1adirse a la aplicaci\u00f3n para mitigar el problema\"}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"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.0,\"baseSeverity\":\"MEDIUM\"},\"exploitabilityScore\":3.1,\"impactScore\":1.4},{\"source\":\"security-advisories@github.com\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:N/A:N\",\"attackVector\":\"NETWORK\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"HIGH\",\"userInteraction\":\"REQUIRED\",\"scope\":\"CHANGED\",\"confidentialityImpact\":\"LOW\",\"integrityImpact\":\"NONE\",\"availabilityImpact\":\"NONE\",\"baseScore\":3.4,\"baseSeverity\":\"LOW\"},\"exploitabilityScore\":1.7,\"impactScore\":1.4}],\"cvssMetricV2\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"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.0},\"baseSeverity\":\"MEDIUM\",\"exploitabilityScore\":8.0,\"impactScore\":2.9,\"acInsufInfo\":false,\"obtainAllPrivilege\":false,\"obtainUserPrivilege\":false,\"obtainOtherPrivilege\":false,\"userInteractionRequired\":false}]},\"weaknesses\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-862\"}]},{\"source\":\"security-advisories@github.com\",\"type\":\"Secondary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-668\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:electronjs:electron:*:*:*:*:*:*:*:*\",\"versionEndExcluding\":\"13.6.6\",\"matchCriteriaId\":\"4548B4FE-05C7-4B38-9BD9-F687DBFC0393\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:electronjs:electron:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"14.0.0\",\"versionEndExcluding\":\"14.2.4\",\"matchCriteriaId\":\"A99CE214-CE9E-4241-B883-7201A737D111\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:electronjs:electron:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"15.0.0\",\"versionEndExcluding\":\"15.3.5\",\"matchCriteriaId\":\"619E557E-1349-4591-B668-A50BF968C28A\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:electronjs:electron:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"16.0.0\",\"versionEndExcluding\":\"16.0.6\",\"matchCriteriaId\":\"C1B857C2-D1BD-4605-ABE1-497BDD5A4825\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:electronjs:electron:17.0.0:alpha1:*:*:*:*:*:*\",\"matchCriteriaId\":\"75600E5E-B4CB-4924-9CFD-E2877FFCCB81\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:electronjs:electron:17.0.0:alpha2:*:*:*:*:*:*\",\"matchCriteriaId\":\"AB42380B-2AE9-481E-BF57-1014E613D7AE\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:electronjs:electron:17.0.0:alpha3:*:*:*:*:*:*\",\"matchCriteriaId\":\"4F76DDDC-1924-45C6-AB59-BD7BEA604098\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:electronjs:electron:17.0.0:alpha4:*:*:*:*:*:*\",\"matchCriteriaId\":\"9C58C2CC-E9C0-4751-8254-41CFCDD24982\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:electronjs:electron:17.0.0:alpha5:*:*:*:*:*:*\",\"matchCriteriaId\":\"E72DDD37-90EF-4517-8AEF-C3B584269C62\"}]}]}],\"references\":[{\"url\":\"https://github.com/electron/electron/pull/32178\",\"source\":\"security-advisories@github.com\",\"tags\":[\"Issue Tracking\",\"Patch\",\"Third Party Advisory\"]},{\"url\":\"https://github.com/electron/electron/pull/32240\",\"source\":\"security-advisories@github.com\",\"tags\":[\"Issue Tracking\",\"Patch\",\"Third Party Advisory\"]},{\"url\":\"https://github.com/electron/electron/security/advisories/GHSA-3p22-ghq8-v749\",\"source\":\"security-advisories@github.com\",\"tags\":[\"Mitigation\",\"Third Party Advisory\"]}]}}" } }
Loading…
Loading…
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.