gsd-2020-4076
Vulnerability from gsd
Modified
2023-12-13 01:21
Details
In Electron before versions 7.2.4, 8.2.4, and 9.0.0-beta21, there is a context isolation bypass. Code running in the main world context in the renderer can reach into the isolated Electron context and perform privileged actions. Apps using contextIsolation are affected. This is fixed in versions 9.0.0-beta.21, 8.2.4 and 7.2.4.
Aliases
Aliases
{ "GSD": { "alias": "CVE-2020-4076", "description": "In Electron before versions 7.2.4, 8.2.4, and 9.0.0-beta21, there is a context isolation bypass. Code running in the main world context in the renderer can reach into the isolated Electron context and perform privileged actions. Apps using contextIsolation are affected. This is fixed in versions 9.0.0-beta.21, 8.2.4 and 7.2.4.", "id": "GSD-2020-4076" }, "gsd": { "metadata": { "exploitCode": "unknown", "remediation": "unknown", "reportConfidence": "confirmed", "type": "vulnerability" }, "osvSchema": { "aliases": [ "CVE-2020-4076" ], "details": "In Electron before versions 7.2.4, 8.2.4, and 9.0.0-beta21, there is a context isolation bypass. Code running in the main world context in the renderer can reach into the isolated Electron context and perform privileged actions. Apps using contextIsolation are affected. This is fixed in versions 9.0.0-beta.21, 8.2.4 and 7.2.4.", "id": "GSD-2020-4076", "modified": "2023-12-13T01:21:47.781908Z", "schema_version": "1.4.0" } }, "namespaces": { "cve.org": { "CVE_data_meta": { "ASSIGNER": "security-advisories@github.com", "ID": "CVE-2020-4076", "STATE": "PUBLIC", "TITLE": "Context isolation bypass via leaked cross-context objects in Electron" }, "affects": { "vendor": { "vendor_data": [ { "product": { "product_data": [ { "product_name": "electron", "version": { "version_data": [ { "version_value": "\u003e= 9.0.0-beta.0, \u003c= 9.0.0-beta.20" }, { "version_value": "\u003e= 8.0.0, \u003c 8.2.4" }, { "version_value": "\u003c 7.2.4" } ] } } ] }, "vendor_name": "electron" } ] } }, "data_format": "MITRE", "data_type": "CVE", "data_version": "4.0", "description": { "description_data": [ { "lang": "eng", "value": "In Electron before versions 7.2.4, 8.2.4, and 9.0.0-beta21, there is a context isolation bypass. Code running in the main world context in the renderer can reach into the isolated Electron context and perform privileged actions. Apps using contextIsolation are affected. This is fixed in versions 9.0.0-beta.21, 8.2.4 and 7.2.4." } ] }, "impact": { "cvss": { "attackComplexity": "HIGH", "attackVector": "LOCAL", "availabilityImpact": "NONE", "baseScore": 7.8, "baseSeverity": "HIGH", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "privilegesRequired": "NONE", "scope": "CHANGED", "userInteraction": "NONE", "vectorString": "CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N", "version": "3.1" } }, "problemtype": { "problemtype_data": [ { "description": [ { "lang": "eng", "value": "CWE-501 Trust Boundary Violation" } ] } ] }, "references": { "reference_data": [ { "name": "https://www.electronjs.org/releases/stable?page=3#release-notes-for-v824", "refsource": "MISC", "url": "https://www.electronjs.org/releases/stable?page=3#release-notes-for-v824" }, { "name": "https://github.com/electron/electron/security/advisories/GHSA-m93v-9qjc-3g79", "refsource": "CONFIRM", "url": "https://github.com/electron/electron/security/advisories/GHSA-m93v-9qjc-3g79" } ] }, "source": { "advisory": "GHSA-m93v-9qjc-3g79", "discovery": "UNKNOWN" } }, "gitlab.com": { "advisories": [ { "affected_range": "\u003e=7.0.0 \u003c7.2.4||\u003e=8.0.0 \u003c8.2.4||=9.0.0", "affected_versions": "All versions starting from 7.0.0 before 7.2.4, all versions starting from 8.0.0 before 8.2.4, version 9.0.0", "cvss_v2": "AV:L/AC:L/Au:N/C:P/I:P/A:N", "cvss_v3": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N", "cwe_ids": [ "CWE-1035", "CWE-937" ], "date": "2020-07-13", "description": "In Electron, there is a context isolation bypass. Code running in the main world context in the renderer can reach into the isolated Electron context and perform privileged actions. Apps using `contextIsolation` are affected.", "fixed_versions": [ "7.2.4", "8.2.4", "9.0.1" ], "identifier": "CVE-2020-4076", "identifiers": [ "CVE-2020-4076", "GHSA-m93v-9qjc-3g79" ], "not_impacted": "All versions before 7.0.0, all versions starting from 7.2.4 before 8.0.0, all versions starting from 8.2.4 before 9.0.0, all versions after 9.0.0", "package_slug": "npm/electron", "pubdate": "2020-07-07", "solution": "Upgrade to versions 7.2.4, 8.2.4, 9.0.1 or above.", "title": "Trust Boundary Violation", "urls": [ "https://nvd.nist.gov/vuln/detail/CVE-2020-4076", "https://www.electronjs.org/releases/stable?page=3#release-notes-for-v824" ], "uuid": "b1f237b6-4afb-40c8-a949-3aeb600cb92f" } ] }, "nvd.nist.gov": { "configurations": { "CVE_data_version": "4.0", "nodes": [ { "children": [], "cpe_match": [ { "cpe23Uri": "cpe:2.3:a:electronjs:electron:*:*:*:*:*:*:*:*", "cpe_name": [], "versionEndExcluding": "7.2.4", "versionStartIncluding": "7.0.0", "vulnerable": true }, { "cpe23Uri": "cpe:2.3:a:electronjs:electron:*:*:*:*:*:*:*:*", "cpe_name": [], "versionEndExcluding": "8.2.4", "versionStartIncluding": "8.0.0", "vulnerable": true }, { "cpe23Uri": "cpe:2.3:a:electronjs:electron:9.0.0:-:*:*:*:*:*:*", "cpe_name": [], "vulnerable": true }, { "cpe23Uri": "cpe:2.3:a:electronjs:electron:9.0.0:beta1:*:*:*:*:*:*", "cpe_name": [], "vulnerable": true }, { "cpe23Uri": "cpe:2.3:a:electronjs:electron:9.0.0:beta10:*:*:*:*:*:*", "cpe_name": [], "vulnerable": true }, { "cpe23Uri": "cpe:2.3:a:electronjs:electron:9.0.0:beta11:*:*:*:*:*:*", "cpe_name": [], "vulnerable": true }, { "cpe23Uri": "cpe:2.3:a:electronjs:electron:9.0.0:beta12:*:*:*:*:*:*", "cpe_name": [], "vulnerable": true }, { "cpe23Uri": "cpe:2.3:a:electronjs:electron:9.0.0:beta13:*:*:*:*:*:*", "cpe_name": [], "vulnerable": true }, { "cpe23Uri": "cpe:2.3:a:electronjs:electron:9.0.0:beta14:*:*:*:*:*:*", "cpe_name": [], "vulnerable": true }, { "cpe23Uri": "cpe:2.3:a:electronjs:electron:9.0.0:beta15:*:*:*:*:*:*", "cpe_name": [], "vulnerable": true }, { "cpe23Uri": "cpe:2.3:a:electronjs:electron:9.0.0:beta16:*:*:*:*:*:*", "cpe_name": [], "vulnerable": true }, { "cpe23Uri": "cpe:2.3:a:electronjs:electron:9.0.0:beta17:*:*:*:*:*:*", "cpe_name": [], "vulnerable": true }, { "cpe23Uri": "cpe:2.3:a:electronjs:electron:9.0.0:beta18:*:*:*:*:*:*", "cpe_name": [], "vulnerable": true }, { "cpe23Uri": "cpe:2.3:a:electronjs:electron:9.0.0:beta19:*:*:*:*:*:*", "cpe_name": [], "vulnerable": true }, { "cpe23Uri": "cpe:2.3:a:electronjs:electron:9.0.0:beta2:*:*:*:*:*:*", "cpe_name": [], "vulnerable": true }, { "cpe23Uri": "cpe:2.3:a:electronjs:electron:9.0.0:beta20:*:*:*:*:*:*", "cpe_name": [], "vulnerable": true }, { "cpe23Uri": "cpe:2.3:a:electronjs:electron:9.0.0:beta3:*:*:*:*:*:*", "cpe_name": [], "vulnerable": true }, { "cpe23Uri": "cpe:2.3:a:electronjs:electron:9.0.0:beta4:*:*:*:*:*:*", "cpe_name": [], "vulnerable": true }, { "cpe23Uri": "cpe:2.3:a:electronjs:electron:9.0.0:beta5:*:*:*:*:*:*", "cpe_name": [], "vulnerable": true }, { "cpe23Uri": "cpe:2.3:a:electronjs:electron:9.0.0:beta6:*:*:*:*:*:*", "cpe_name": [], "vulnerable": true }, { "cpe23Uri": "cpe:2.3:a:electronjs:electron:9.0.0:beta7:*:*:*:*:*:*", "cpe_name": [], "vulnerable": true }, { "cpe23Uri": "cpe:2.3:a:electronjs:electron:9.0.0:beta8:*:*:*:*:*:*", "cpe_name": [], "vulnerable": true }, { "cpe23Uri": "cpe:2.3:a:electronjs:electron:9.0.0:beta9:*:*:*:*:*:*", "cpe_name": [], "vulnerable": true } ], "operator": "OR" } ] }, "cve": { "CVE_data_meta": { "ASSIGNER": "security-advisories@github.com", "ID": "CVE-2020-4076" }, "data_format": "MITRE", "data_type": "CVE", "data_version": "4.0", "description": { "description_data": [ { "lang": "en", "value": "In Electron before versions 7.2.4, 8.2.4, and 9.0.0-beta21, there is a context isolation bypass. Code running in the main world context in the renderer can reach into the isolated Electron context and perform privileged actions. Apps using contextIsolation are affected. This is fixed in versions 9.0.0-beta.21, 8.2.4 and 7.2.4." } ] }, "problemtype": { "problemtype_data": [ { "description": [ { "lang": "en", "value": "NVD-CWE-Other" } ] } ] }, "references": { "reference_data": [ { "name": "https://www.electronjs.org/releases/stable?page=3#release-notes-for-v824", "refsource": "MISC", "tags": [ "Release Notes", "Vendor Advisory" ], "url": "https://www.electronjs.org/releases/stable?page=3#release-notes-for-v824" }, { "name": "https://github.com/electron/electron/security/advisories/GHSA-m93v-9qjc-3g79", "refsource": "CONFIRM", "tags": [ "Third Party Advisory" ], "url": "https://github.com/electron/electron/security/advisories/GHSA-m93v-9qjc-3g79" } ] } }, "impact": { "baseMetricV2": { "acInsufInfo": false, "cvssV2": { "accessComplexity": "LOW", "accessVector": "LOCAL", "authentication": "NONE", "availabilityImpact": "NONE", "baseScore": 3.6, "confidentialityImpact": "PARTIAL", "integrityImpact": "PARTIAL", "vectorString": "AV:L/AC:L/Au:N/C:P/I:P/A:N", "version": "2.0" }, "exploitabilityScore": 3.9, "impactScore": 4.9, "obtainAllPrivilege": false, "obtainOtherPrivilege": false, "obtainUserPrivilege": false, "severity": "LOW", "userInteractionRequired": false }, "baseMetricV3": { "cvssV3": { "attackComplexity": "LOW", "attackVector": "LOCAL", "availabilityImpact": "NONE", "baseScore": 9.0, "baseSeverity": "CRITICAL", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "privilegesRequired": "NONE", "scope": "CHANGED", "userInteraction": "NONE", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N", "version": "3.1" }, "exploitabilityScore": 2.5, "impactScore": 5.8 } }, "lastModifiedDate": "2020-07-13T19:48Z", "publishedDate": "2020-07-07T00:15Z" } } }
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.